{"id":"CVE-2026-82727","summary":"AshPhoenix Form.Auto leaks submitted params in an unknown _union_type error message","details":"Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_phoenix writes the entire raw submitted param map into an exception message, so secrets submitted alongside a union form field leak into logs, crash reports and the dev error page.\n\nWhen AshPhoenix.Form.Auto builds a union sub-form and the submitted _union_type does not match a configured type, both raise sites built the message with inspect(params, pretty: true), embedding the full untrusted param map, and also inspected the internal union constraints[:types]. Because the message is constructed by the library rather than Phoenix's parameter logger, config :phoenix, :filter_parameters never redacts it. An attacker controls both the trigger and the contents: submitting %{\"_union_type\" =\u003e \"nope\", \"password\" =\u003e \"...\"} puts the password verbatim in the raised message. The fix reports only the offending _union_type and the valid type names, dropping the param and constraints dumps.\n\nThis issue affects ash_phoenix: from 1.2.17 before 2.3.25.","aliases":["EEF-CVE-2026-82727","GHSA-5xf4-hgcq-xw7v"],"modified":"2026-09-03T03:30:37.804791855Z","published":"2026-08-31T03:03:58.982Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82727.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"a3436fcc321e3b34c242cceaf62c3c92bc1a452b"},{"fixed":"0c1775c3cf8988f9abd10a8f92315afc5f06f16d"}]}],"cna_assigner":"EEF","cwe_ids":["CWE-209"]},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-82727.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82727"},{"type":"WEB","url":"https://repo.hex.pm"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82727.json"},{"type":"ADVISORY","url":"https://github.com/ash-project/ash_phoenix/security/advisories/GHSA-5xf4-hgcq-xw7v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82727"},{"type":"FIX","url":"https://github.com/ash-project/ash_phoenix/commit/0c1775c3cf8988f9abd10a8f92315afc5f06f16d"},{"type":"PACKAGE","url":"https://github.com/ash-project/ash_phoenix"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash_phoenix","events":[{"introduced":"c7e220099edd5e10f7ad8fef6387169b2551f96f"},{"fixed":"1e38e7dc8838426cc94656238d9208759c661c03"},{"fixed":"0c1775c3cf8988f9abd10a8f92315afc5f06f16d"}],"database_specific":{"extracted_events":[{"introduced":"1.2.17"},{"fixed":"2.3.25"}],"source":["DESCRIPTION","REFERENCES"]}}],"versions":["v2.3.24","v2.3.23","v2.3.22","v2.3.21","v2.3.20","v2.3.19","v2.3.18","v2.3.17","v2.3.10","v2.3.16","v2.3.15","v2.3.14","v2.3.13","v2.3.12","v2.3.11","v2.3.9","v2.3.8","v2.3.7","v2.3.6","v2.3.5","v2.3.4","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.0","v2.1.26","v2.1.25","v2.1.24","v2.1.23","v2.1.22","v2.1.21","v2.1.20","v2.1.19","v2.1.18","v2.1.17","v2.1.16","v2.1.15","v2.1.14","v2.1.12","v2.1.11","v2.1.10","v2.1.9","v2.1.8","v2.1.7","v2.1.6","v2.1.5","v2.1.4","v2.1.3","v2.1.1","v2.0.3","v2.0.2","v2.0.1","v2.0.0-rc.8","v2.0.0-rc.7","v2.0.0-rc.6","v2.0.0-rc.5","v2.0.0-rc.4","v2.0.0-rc.3","v2.0.0-rc.2","v2.0.0-rc.1","v2.0.0-rc.0","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.26","v1.2.25","v1.2.24","v1.2.23","v1.2.22","v1.2.21","v1.2.20","v1.2.19","v1.2.18","v1.2.17"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82727.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}