{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-82727",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-08-31T00:59:08.960Z",
        "datePublished": "2026-08-31T03:03:58.982Z",
        "dateUpdated": "2026-08-31T03:03:58.982Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://repo.hex.pm",
                    "cpes": [
                        "cpe:2.3:a:ash-project:ash_phoenix:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.AshPhoenix.Form.Auto'"
                    ],
                    "packageName": "ash_phoenix",
                    "packageURL": "pkg:hex/ash_phoenix",
                    "product": "ash_phoenix",
                    "programFiles": [
                        "lib/ash_phoenix/form/auto.ex"
                    ],
                    "repo": "https://github.com/ash-project/ash_phoenix",
                    "vendor": "ash-project",
                    "versions": [
                        {
                            "lessThan": "2.3.25",
                            "status": "affected",
                            "version": "1.2.17",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:ash-project:ash_phoenix:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.AshPhoenix.Form.Auto'"
                    ],
                    "packageName": "ash-project/ash_phoenix",
                    "packageURL": "pkg:github/ash-project/ash_phoenix",
                    "product": "ash_phoenix",
                    "programFiles": [
                        "lib/ash_phoenix/form/auto.ex"
                    ],
                    "repo": "https://github.com/ash-project/ash_phoenix",
                    "vendor": "ash-project",
                    "versions": [
                        {
                            "lessThan": "0c1775c3cf8988f9abd10a8f92315afc5f06f16d",
                            "status": "affected",
                            "version": "a3436fcc321e3b34c242cceaf62c3c92bc1a452b",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>The application renders an <code>AshPhoenix.Form</code> with a union field, and submitted params (which may carry secrets) reach logs, crash reports or the error page.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "The application renders an `AshPhoenix.Form` with a union field, and submitted params (which may carry secrets) reach logs, crash reports or the error page."
                        }
                    ],
                    "value": "The application renders an AshPhoenix.Form with a union field, and submitted params (which may carry secrets) reach logs, crash reports or the error page."
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "cpeMatch": [
                                {
                                    "criteria": "cpe:2.3:a:ash-project:ash_phoenix:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "2.3.25",
                                    "versionStartIncluding": "1.2.17",
                                    "vulnerable": true
                                }
                            ],
                            "negate": false,
                            "operator": "OR"
                        }
                    ],
                    "operator": "AND"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Zach Daniel / Ash Project"
                },
                {
                    "lang": "en",
                    "type": "coordinator",
                    "value": "Jonatan Männchen / EEF"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>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.</p>\n<p>When <code>AshPhoenix.Form.Auto</code> builds a union sub-form and the submitted <code>_union_type</code> does not match a configured type, both raise sites built the message with <code>inspect(params, pretty: true)</code>, embedding the full untrusted param map, and also inspected the internal union <code>constraints[:types]</code>. Because the message is constructed by the library rather than Phoenix's parameter logger, <code>config :phoenix, :filter_parameters</code> never redacts it. An attacker controls both the trigger and the contents: submitting <code>%{\"_union_type\" =&gt; \"nope\", \"password\" =&gt; \"...\"}</code> puts the password verbatim in the raised message. The fix reports only the offending <code>_union_type</code> and the valid type names, dropping the param and constraints dumps.</p>\n<p>This issue affects ash_phoenix: from 1.2.17 before 2.3.25.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "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\" => \"nope\", \"password\" => \"...\"}` 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."
                        }
                    ],
                    "value": "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\" => \"nope\", \"password\" => \"...\"} 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."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-54",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-54 Query System for Information"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "attackVector": "NETWORK",
                        "baseScore": 2.3,
                        "baseSeverity": "LOW",
                        "privilegesRequired": "LOW",
                        "providerUrgency": "NOT_DEFINED",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "userInteraction": "NONE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "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",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "NONE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "NONE",
                        "vulnerabilityResponseEffort": "NOT_DEFINED"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-209",
                            "description": "CWE-209 Generation of Error Message Containing Sensitive Information",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-08-31T03:03:58.982Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/ash-project/ash_phoenix/security/advisories/GHSA-5xf4-hgcq-xw7v"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-82727.html"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-82727"
                },
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/ash-project/ash_phoenix/commit/0c1775c3cf8988f9abd10a8f92315afc5f06f16d"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "AshPhoenix Form.Auto leaks submitted params in an unknown _union_type error message"
        }
    }
}