{"answers":{"affected":"2 open source packages ship an affected version, including ewe. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32881 exists.","fix":"Upgrade ewe to 3.0.5 or later.","what":"CVE-2026-32881 is a medium-severity authentication bypass vulnerability in vshakitskiy ewe, published on 20 Mar 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-32881 and fix it if it is affected.\n\nWhat it is: CVE-2026-32881 is a medium-severity authentication bypass vulnerability in vshakitskiy ewe, published on 20 Mar 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-32881 exists.\n\nAffected packages and fixed versions:\n- ewe (Hex): affected from 0.6.0; fixed in 3.0.5\n- ewe (Hex): affected from 0.6.0; fixed in 3.0.5\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-32881/ (Markdown: https://insights.sbomify.com/CVE-2026-32881/index.md)","id":"CVE-2026-32881","markdown":"https://insights.sbomify.com/CVE-2026-32881/index.md","name":"CVE-2026-32881","record":{"aliases":["GHSA-9w88-79f8-m3vp"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Gleam web server","requires_auth":"none","summary":"Attackers can bypass authentication and hijack sessions by spoofing headers via chunked transfer encoding trailers in the ewe web server.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ewe","vendor":"vshakitskiy"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-183","name":"Permissive List of Allowed Inputs"}],"description":"ewe is a Gleam web server. ewe is a Gleam web server. Versions 0.6.0 through 3.0.4 are vulnerable to authentication bypass or spoofed proxy-trust headers. Chunked transfer encoding trailer handling merges declared trailer fields into req.headers after body parsing, but the denylist only blocks 9 header names.  A malicious client can exploit this by declaring these headers in the Trailer field and appending them after the final chunk, causing request.set_header to overwrite legitimate values (e.g., those set by a reverse proxy). This enables attackers to forge authentication credentials, hijack sessions, bypass IP-based rate limiting, or spoof proxy-trust headers in any downstream middleware that reads headers after ewe.read_body is called. This issue has been fixed in version 3.0.5.","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":"ewe has an Overly Permissive List of Allowed Inputs","id":"CVE-2026-32881","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"libheif: Heap Buffer OOB Read in overlay compositing due to wrong alpha stride","id":"CVE-2026-32882"},"packages":[{"ecosystem":"Hex","fixed":["3.0.5"],"introduced":["0.6.0"],"last_affected":[],"package":"ewe","purl":null,"source":"GHSA-9w88-79f8-m3vp"},{"ecosystem":"Hex","fixed":["3.0.5"],"introduced":["0.6.0"],"last_affected":[],"package":"ewe","purl":"pkg:hex/ewe","source":"GHSA-9w88-79f8-m3vp"}],"prev":{"headline":"ChurchCRM is vulnerable to Stored XSS through JSON handling in SystemSettings.php","id":"CVE-2026-32880"},"products":["ewe"],"published":"2026-03-20","related":[{"cvss_score":7.5,"headline":"ewe: Loop with Unreachable Exit Condition ('Infinite Loop')","id":"CVE-2026-32873","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":5.3,"headline":"ewe Has Improper Neutralization of CRLF Sequences in HTTP Headers (HTTP Request/Response Splitting)","id":"CVE-2026-34715","kev_date_added":null,"published":"2026-04-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-20","vendors":["vshakitskiy"]},"summary":"Attackers can bypass authentication and hijack sessions by spoofing headers via chunked transfer encoding trailers in the ewe web server.","url":"https://insights.sbomify.com/CVE-2026-32881/"}