{"answers":{"affected":"1 open source package ship an affected version, including ash_cloak.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-81319 exists.","fix":"Upgrade ash_cloak to 0.4.0 or later.","what":"CVE-2026-81319 is a medium-severity unsafe deserialization vulnerability in ash-project ash_cloak, published on 30 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-81319 and fix it if it is affected.\n\nWhat it is: CVE-2026-81319 is a medium-severity unsafe deserialization vulnerability in ash-project ash_cloak, published on 30 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-81319 exists.\n\nAffected packages and fixed versions:\n- ash_cloak (Hex): affected from 0.1.0; fixed in 0.4.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-81319/ (Markdown: https://insights.sbomify.com/CVE-2026-81319/index.md)","id":"CVE-2026-81319","markdown":"https://insights.sbomify.com/CVE-2026-81319/index.md","name":"CVE-2026-81319","record":{"aliases":["EEF-CVE-2026-81319","GHSA-rc26-mrm2-6pf9"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Elixir encryption library","requires_auth":"none","summary":"An attacker can crash the application by sending crafted encrypted data that triggers unsafe deserialization, causing resource exhaustion.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"Deserialization of Untrusted Data vulnerability in ash-project ash_cloak allows an attacker who can influence the bytes of an encrypted column to crash the BEAM node, by triggering unbounded atom creation or a decompression bomb during decryption.\n\nAshCloak.Calculations.Decrypt decodes the decrypted binary with Ash.Helpers.non_executable_binary_to_term/1 without the :safe option, so atoms in the payload are interned during the decode and never garbage collected, and the term format's compressed form is inflated transparently. vault.decrypt!() is the only barrier and stops tampering only for an authenticated cipher. Cloak also ships the unauthenticated AES.CTR, whose ciphertext an attacker who knows their own plaintext can XOR into any same-length payload without the key, so an ordinary read of the forged column reaches the decoder. A few hundred kilobytes of distinct atoms exhausts the atom table, or a small compressed payload inflates to gigabytes.\n\nThis issue affects ash_cloak: from 0.1.0 before 0.4.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":"Unsafe deserialization of decrypted terms enables node DoS in AshCloak","id":"CVE-2026-81319","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":1,"n_references":4,"next":{"headline":"Hawtio-operator: hawtio-operator: tls private key written to operator log at debug level","id":"CVE-2026-81320"},"packages":[{"ecosystem":"Hex","fixed":["0.4.0"],"introduced":["0.1.0"],"last_affected":[],"package":"ash_cloak","purl":"pkg:hex/ash_cloak","source":"EEF-CVE-2026-81319"}],"prev":{"headline":"Distinct-query aggregate drops the tenant schema prefix, leaking across tenants in AshSql","id":"CVE-2026-81318"},"products":["ash_cloak"],"published":"2026-08-30","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":"An attacker can crash the application by sending crafted encrypted data that triggers unsafe deserialization, causing resource exhaustion.","url":"https://insights.sbomify.com/CVE-2026-81319/"}