{"answers":{"affected":"1 open source package ship an affected version, including ash_typescript.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-82732 exists.","fix":"Upgrade ash_typescript to 0.18.0 or later.","what":"CVE-2026-82732 is a medium-severity missing authorization vulnerability in ash-project ash_typescript, published on 1 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-82732 and fix it if it is affected.\n\nWhat it is: CVE-2026-82732 is a medium-severity missing authorization vulnerability in ash-project ash_typescript, published on 1 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-82732 exists.\n\nAffected packages and fixed versions:\n- ash_typescript (Hex): affected from 0.15.0; fixed in 0.18.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-82732/ (Markdown: https://insights.sbomify.com/CVE-2026-82732/index.md)","id":"CVE-2026-82732","markdown":"https://insights.sbomify.com/CVE-2026-82732/index.md","name":"CVE-2026-82732","record":{"aliases":["EEF-CVE-2026-82732","GHSA-f7fq-hwq6-jhvv"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Elixir Ash TypeScript library","requires_auth":"none","summary":"Attackers bypass declared argument constraints in AshTypescript routes, potentially escalating privileges or modifying data by submitting invalid values.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Improper Input Validation vulnerability in ash-project ash_typescript allows a remote attacker to submit argument values outside a declared allowlist or bound on typed-controller routes.\n\nAshTypescript.TypedController.RequestHandler in lib/ash_typescript/typed_controller/request_handler.ex calls Ash.Type.cast_input/3 and treats an {:ok, cast} result as fully validated. In Ash these are separate steps: cast_input/3 only coerces the term, while every constraint declared on the argument is applied by Ash.Type.apply_constraints/3, which this path never calls. Constraints such as one_of, max_length, min and max, and match are therefore inert, so a value outside a declared allowlist is accepted and passed to the route handler. Codegen renders the same constraints into the generated TypeScript types, so an allowlist appears enforced to a TypeScript caller while any other HTTP client ignores it. Empty-string to nil normalization also lives in apply_constraints, so the allow_nil?: false check accepts \"\" for a required argument.\n\nWhere a constraint gates a role, a status, or a sort direction, this becomes a privilege or state-machine bypass.\n\nThis issue affects ash_typescript: from 0.15.0 before 0.18.0.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Declared argument constraints not enforced on AshTypescript typed controller routes","id":"CVE-2026-82732","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":1,"n_references":4,"next":{"headline":"Route handler return value echoed into AshTypescript error response","id":"CVE-2026-82733"},"packages":[{"ecosystem":"Hex","fixed":["0.18.0"],"introduced":["0.15.0"],"last_affected":[],"package":"ash_typescript","purl":"pkg:hex/ash_typescript","source":"EEF-CVE-2026-82732"}],"prev":{"headline":"Unescaped path parameters in AshTypescript generated TypeScript client allow request redirection","id":"CVE-2026-82731"},"products":["ash_typescript"],"published":"2026-09-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-01","vendors":["ash-project"]},"summary":"Attackers bypass declared argument constraints in AshTypescript routes, potentially escalating privileges or modifying data by submitting invalid values.","url":"https://insights.sbomify.com/CVE-2026-82732/"}