{"answers":{"affected":"3 open source packages ship an affected version, including github.com/ncarlier/webhookd.","exploited":"There is no known exploitation of CVE-2026-59157 in the wild and no public exploit code.","fix":"Upgrade github.com/ncarlier/webhookd to 1.22.0 or later.","what":"CVE-2026-59157 is a medium-severity authentication bypass vulnerability in ncarlier webhookd, published on 15 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-59157 and fix it if it is affected.\n\nWhat it is: CVE-2026-59157 is a medium-severity authentication bypass vulnerability in ncarlier webhookd, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-59157 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/ncarlier/webhookd (Go): affected all versions; fixed in 1.22.0\n- github.com/ncarlier/webhookd (Go): affected all versions; fixed in 1.22.0\n- github.com/ncarlier/webhookd (Go): affected all versions; fixed in 1.22.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-59157/ (Markdown: https://insights.sbomify.com/CVE-2026-59157/index.md)","id":"CVE-2026-59157","markdown":"https://insights.sbomify.com/CVE-2026-59157/index.md","name":"CVE-2026-59157","record":{"aliases":["GHSA-v25g-mvwr-f5fp","GO-2026-6451"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Webhook server","requires_auth":"none","summary":"Attackers can spoof user identity via HTTP headers in unauthenticated webhookd deployments, bypassing security controls to access or modify resources.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-807","name":"Reliance on Untrusted Inputs in a Security Decision"},{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"description":"webhookd is a minimalist webhook server that triggers shell scripts and external processes through HTTP requests. Prior to 1.22.0, webhookd deployments without htpasswd authentication forwarded all incoming HTTP headers through HTTPParamsToShellVars in pkg/api/index.go into the hook script environment without an allowlist. When an upstream reverse proxy did not strip a client-supplied X-WebAuthn-User header and a hook script trusted that variable for identity or privilege, a remote unauthenticated attacker could spoof another user, bypass script security controls, and access or modify resources available to the impersonated identity. This issue is fixed in version 1.22.0.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"webhookd: Unrestricted HTTP Header to Shell Variable Injection","id":"CVE-2026-59157","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"Nuxt Ollama: public runtime configuration discloses the configured cloud API key","id":"CVE-2026-59158"},"packages":[{"ecosystem":"Go","fixed":["1.22.0"],"introduced":["0"],"last_affected":[],"package":"github.com/ncarlier/webhookd","purl":null,"source":"GHSA-v25g-mvwr-f5fp"},{"ecosystem":"Go","fixed":["1.22.0"],"introduced":["0"],"last_affected":[],"package":"github.com/ncarlier/webhookd","purl":"pkg:golang/github.com/ncarlier/webhookd","source":"GHSA-v25g-mvwr-f5fp"},{"ecosystem":"Go","fixed":["1.22.0"],"introduced":["0"],"last_affected":[],"package":"github.com/ncarlier/webhookd","purl":"pkg:golang/github.com/ncarlier/webhookd","source":"GO-2026-6451"}],"prev":{"headline":"OpenImageIO: Unbounded recursion in FITS header parser leads to stack overflow","id":"CVE-2026-59156"},"products":["webhookd"],"published":"2026-09-15","related":[],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-16","vendors":["ncarlier"]},"summary":"Attackers can spoof user identity via HTTP headers in unauthenticated webhookd deployments, bypassing security controls to access or modify resources.","url":"https://insights.sbomify.com/CVE-2026-59157/"}