{"id":"CVE-2026-55736","aliases":["CVE-2026-55736","GHSA-f4hc-ppw9-4hhw","EEF-CVE-2026-55736"],"related":[],"kind":"vulnerability","state":"published","title":"Private action arguments can be set by user input in Ash","summary":"Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in ash-project ash allows a user to set the value of a private action argument that is intended to be controlled only by trusted server-side code.\n\nAction arguments declared with public?: false are meant to be set internally (for example via Ash.Changeset.set_private_argument/3) and must not be settable from end-user input. When a changeset is built from a parameter map, Ash filters out private arguments, but the filtering is incomplete.\n\nIn the regular changeset path (for_create, for_update, for_destroy), private arguments are stripped only when the parameter key is an atom. When the key is a binary (string), as is the case for user-supplied parameters, the private argument is kept and the user controls its value. In the atomic path (Ash.Changeset.fully_atomic_changeset/4, also reached through atomic and bulk updates), private arguments are not stripped at all, regardless of whether the key is an atom or a binary.\n\nAn attacker who can submit parameters to an action that defines a private argument can therefore inject a value for that argument. Depending on how the application uses the argument (for example an acting_user_id driving authorization or record ownership), this can lead to an integrity violation or privilege escalation.\n\nThis issue affects ash: from 3.0.0-rc.0 before 3.29.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in ash-project ash allows a user to set the value of a private action argument that is intended to be controlled only by trusted server-side code.\n\nAction arguments declared with public?: false are meant to be set internally (for example via Ash.Changeset.set_private_argument/3) and must not be settable from end-user input. When a changeset is built from a parameter map, Ash filters out private arguments, but the filtering is incomplete.\n\nIn the regular changeset path (for_create, for_update, for_destroy), private arguments are stripped only when the parameter key is an atom. When the key is a binary (string), as is the case for user-supplied parameters, the private argument is kept and the user controls its value. In the atomic path (Ash.Changeset.fully_atomic_changeset/4, also reached through atomic and bulk updates), private arguments are not stripped at all, regardless of whether the key is an atom or a binary.\n\nAn attacker who can submit parameters to an action that defines a private argument can therefore inject a value for that argument. Depending on how the application uses the argument (for example an acting_user_id driving authorization or record ownership), this can lead to an integrity violation or privilege escalation.\n\nThis issue affects ash: from 3.0.0-rc.0 before 3.29.3.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nAsh fails to consistently strip private action arguments (those declared with `public?: false`) when a changeset is built from an untrusted parameter map. Private arguments are meant to be set only by trusted server-side code, but a caller who controls the parameters supplied to an action can inject a value for one. Any actor able to submit parameters to an action that defines a private argument can trigger it.\n\n### Details\n\nPrivate arguments (`public?: false`) are meant to be populated internally (e.g. via `Ash.Changeset.set_private_argument/3`) and never accepted from external input. When an action is invoked with a parameter map, Ash should discard keys that name a private argument. The filtering in `lib/ash/changeset/changeset.ex` is incomplete, and the gap differs across the two parameter paths.\n\n**1. Regular path (`for_create`, `for_update`, `for_destroy`).** `cast_params/4` validates keys via `get_action_argument/2`. Its atom-keyed clause filters on `public?`, but the binary-keyed (string) clause does not, so a string key matching a private argument name is accepted and written into `changeset.arguments`. User-supplied parameter maps are string-keyed, making this the reachable case.\n\n**2. Atomic / bulk path (`Ash.Changeset.fully_atomic_changeset/4`).** `atomic_params/4` gates assignment on `has_argument?/2`, whose atom and binary clauses both omit the `public?` check, so private arguments are accepted regardless of key type.\n\n### PoC\n\n1. Define an action with a private argument, e.g. `argument :acting_user_id, :string, public?: false`, and a change that writes it into an attribute.\n2. Build the changeset from a string-keyed map including it, e.g. `Ash.Changeset.for_create(Resource, :place, %{\"item\" => \"book\", \"acting_user_id\" => \"victim-user-id\"})`.\n3. Observe `acting_user_id` is present in `changeset.arguments` and persisted, whereas the same map with atom keys is correctly stripped.\n4. For the atomic path, call `Ash.Changeset.fully_atomic_changeset(Resource, :promote, %{\"acting_user_id\" => \"victim-user-id\"})` (atom or string keys) and observe the private argument is retained either way.\n\n### Impact\n\nAn attacker who can submit parameters to an action that defines a private argument can set that argument to a value of their choosing, overriding data the application intended to control server-side. Where a private argument drives authorization, identity, or record ownership (e.g. `acting_user_id`), this can lead to an integrity violation or privilege escalation.","format":"markdown","source":"ghsa"},{"lang":"en","text":"## Summary\n\nImproperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in ash-project ash allows a user to set the value of a private action argument that is intended to be controlled only by trusted server-side code.\n\nAction arguments declared with `public?: false` are meant to be set internally (for example via `Ash.Changeset.set_private_argument/3`) and must not be settable from end-user input. When a changeset is built from a parameter map, Ash filters out private arguments, but the filtering is incomplete.\n\nIn the regular changeset path (`for_create`, `for_update`, `for_destroy`), private arguments are stripped only when the parameter key is an atom. When the key is a binary (string), as is the case for user-supplied parameters, the private argument is kept and the user controls its value. In the atomic path (`Ash.Changeset.fully_atomic_changeset/4`, also reached through atomic and bulk updates), private arguments are not stripped at all, regardless of whether the key is an atom or a binary.\n\nAn attacker who can submit parameters to an action that defines a private argument can therefore inject a value for that argument. Depending on how the application uses the argument (for example an `acting_user_id` driving authorization or record ownership), this can lead to an integrity violation or privilege escalation.\n\nThis issue affects ash: from 3.0.0-rc.0 before 3.29.3.\n\n## Configurations\n\nAn action must declare a private argument (one defined with `public?: false`) whose value is meant to be set only by trusted server-side code, and the application must build the changeset from untrusted user-supplied parameters, passing them straight into `Ash.Changeset.for_create/3`, `for_update/3`, `for_destroy/3`, or into an atomic or bulk update.","format":"markdown","source":"eef"},{"lang":"es","text":"La vulnerabilidad de Modificación Incontrolada de Atributos de Objeto Determinados Dinámicamente en ash-project ash permite a un usuario establecer el valor de un argumento de acción privado que está destinado a ser controlado solo por código de lado del servidor de confianza.\n\nLos argumentos de acción declarados con public?: false están destinados a ser establecidos internamente (por ejemplo, a través de Ash.Changeset.set_private_argument/3) y no deben ser configurables desde la entrada del usuario final. Cuando un changeset se construye a partir de un mapa de parámetros, Ash filtra los argumentos privados, pero el filtrado es incompleto.\n\nEn la ruta regular del changeset (for_create, for_update, for_destroy), los argumentos privados se eliminan solo cuando la clave del parámetro es un átomo. Cuando la clave es un binario (cadena), como es el caso de los parámetros proporcionados por el usuario, el argumento privado se mantiene y el usuario controla su valor. En la ruta atómica (Ash.Changeset.fully_atomic_changeset/4, también alcanzada a través de actualizaciones atómicas y masivas), los argumentos privados no se eliminan en absoluto, independientemente de si la clave es un átomo o un binario.\n\nUn atacante que puede enviar parámetros a una acción que define un argumento privado puede, por lo tanto, inyectar un valor para ese argumento. Dependiendo de cómo la aplicación utilice el argumento (por ejemplo, un acting_user_id que impulsa la autorización o la propiedad del registro), esto puede conducir a una violación de la integridad o a una escalada de privilegios.\n\nEste problema afecta a ash: desde 3.0.0 antes de 3.29.3.","source":"nvd"}],"published":"2026-06-23T18:21:13.033Z","modified":"2026-11-25T17:23:08.601Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"cwes":["CWE-915"],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.0-rc.0","fixed":"3.29.3","status":"affected"}],"vendor":"ash-project","product":"ash","package":"ash","cpe":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash","source":"cvelist"},{"ranges":[{"type":"git","introduced":"5967ed3a483ab949866e6d7b043b043e61703f17","fixed":"d9b3100219b3ea86d73202bf7368c03a7688efea","status":"affected"}],"vendor":"ash-project","product":"ash","package":"ash-project/ash","cpe":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.29.3"}],"ecosystem":"Hex","package":"ash","purl":"pkg:hex/ash","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.0.0-rc.0","status":"affected","fixed":"3.29.3"}],"ecosystem":"Hex","package":"ash","purl":"pkg:hex/ash","source":"eef"},{"ranges":[{"type":"git","introduced":"5967ed3a483ab949866e6d7b043b043e61703f17","status":"affected","fixed":"d9b3100219b3ea86d73202bf7368c03a7688efea"}],"repo":"https://github.com/ash-project/ash","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-f4hc-ppw9-4hhw","tags":["advisory","exploit","related","vendor-advisory","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-55736.html","tags":["related","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-55736","tags":["related","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ash-project/ash/commit/5967ed3a483ab949866e6d7b043b043e61703f17","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash/commit/d9b3100219b3ea86d73202bf7368c03a7688efea","tags":["fix","patch","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55736","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ash-project/ash","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/ash-project/ash/releases/tag/v3.29.3","tags":["web"],"sources":["ghsa"]},{"url":"https://hex.pm/packages/ash","tags":["package"],"sources":["eef"]}],"credits":["Alfred Vié","Jonatan Männchen / EEF","Zach Daniel"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-07-09T14:53:04.134Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55736","url":"https://www.cve.org/CVERecord?id=CVE-2026-55736","licence":"CVE Terms of Use","modified":"2026-11-24T04:45:50.640Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f4hc-ppw9-4hhw","url":"https://github.com/advisories/GHSA-f4hc-ppw9-4hhw","licence":"CC-BY-4.0","modified":"2026-09-24T20:00:05.362Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-55736","url":"https://osv.dev/vulnerability/EEF-CVE-2026-55736","licence":"CC-BY-4.0","modified":"2026-11-25T17:23:08.601Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55736","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55736","licence":"Public domain","modified":"2026-11-24T05:18:27.173Z"}],"updatedAt":"2026-11-25T22:59:25.525Z","epss":{"score":0.00273,"percentile":0.21097,"date":"2026-12-01T12:00:22.000Z"}}