{"answers":{"affected":"6 open source packages ship an affected version, including github.com/dgrijalva/jwt-go and github.com/dgrijalva/jwt-go/v4. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-26160 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2020-26160 is a high-severity authentication bypass vulnerability in n/a, published on 30 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-26160 and fix it if it is affected.\n\nWhat it is: CVE-2020-26160 is a high-severity authentication bypass vulnerability in n/a, published on 30 Sep 2020. 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-2020-26160 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/dgrijalva/jwt-go (Go): affected from 0.0.0-20150717181359-44718f8a89b0; no fix listed\n- github.com/dgrijalva/jwt-go (Go): affected from 0.0.0-20150717181359-44718f8a89b0 up to 3.2.0; no fix listed\n- github.com/dgrijalva/jwt-go (Go): affected from 0.0.0-20150717181359-44718f8a89b0 up to 3.2.0; no fix listed\n- github.com/dgrijalva/jwt-go/v4 (Go): affected all versions; fixed in 4.0.0-preview1\n- github.com/dgrijalva/jwt-go/v4 (Go): affected all versions; fixed in 4.0.0-preview1\n- github.com/dgrijalva/jwt-go/v4 (Go): affected all versions; fixed in 4.0.0-preview1\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-2020-26160/ (Markdown: https://insights.sbomify.com/CVE-2020-26160/index.md)","id":"CVE-2020-26160","markdown":"https://insights.sbomify.com/CVE-2020-26160/index.md","name":"CVE-2020-26160","record":{"aliases":["AZL-41684","CLEANSTART-2025-CI95096","DEBIAN-CVE-2020-26160","GHSA-w73w-5m7g-f7qc","GO-2020-0017","SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515","UBUNTU-CVE-2020-26160","openSUSE-SU-2024:11428-1","openSUSE-SU-2024:11668-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go JWT library","requires_auth":"none","summary":"Attackers can bypass access restrictions in jwt-go by exploiting audience claim type assertion failures, allowing unauthorized access to services.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"jwt-go","vendor":"jwt-go_project"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:N/S:U/UI:N","version":"3.1"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"jwt-go before 4.0.0-preview1 allows attackers to bypass intended access restrictions in situations with []string{} for m[\"aud\"] (which is allowed by the specification). Because the type assertion fails, \"\" is the value of aud. This is a security problem if the JWT token is presented to a service that lacks its own audience check.","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-05-11","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-11T00:11:54Z","kind":"github_poc","ref":"https://github.com/mlbrilliance/aurora-demo-lockfile","stars":0,"title":"AURORA demo target — deliberately vulnerable lockfiles (CVE-2019-10744, CVE-2018-18074, CVE-2020-26160)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Authorization bypass in github.com/dgrijalva/jwt-go","id":"CVE-2020-26160","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2020"},"n_packages":8,"n_references":2,"next":{"headline":"Open redirect in n/a","id":"CVE-2020-26161"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0.0.0-20150717181359-44718f8a89b0"],"last_affected":[],"package":"github.com/dgrijalva/jwt-go","purl":"pkg:golang/github.com/dgrijalva/jwt-go","source":"GO-2020-0017"},{"ecosystem":"Go","fixed":[],"introduced":["0.0.0-20150717181359-44718f8a89b0"],"last_affected":["3.2.0"],"package":"github.com/dgrijalva/jwt-go","purl":null,"source":"GHSA-w73w-5m7g-f7qc"},{"ecosystem":"Go","fixed":[],"introduced":["0.0.0-20150717181359-44718f8a89b0"],"last_affected":["3.2.0"],"package":"github.com/dgrijalva/jwt-go","purl":"pkg:golang/github.com/dgrijalva/jwt-go","source":"GHSA-w73w-5m7g-f7qc"},{"ecosystem":"Go","fixed":["4.0.0-preview1"],"introduced":["0"],"last_affected":[],"package":"github.com/dgrijalva/jwt-go/v4","purl":null,"source":"GHSA-w73w-5m7g-f7qc"},{"ecosystem":"Go","fixed":["4.0.0-preview1"],"introduced":["0"],"last_affected":[],"package":"github.com/dgrijalva/jwt-go/v4","purl":"pkg:golang/github.com/dgrijalva/jwt-go/v4","source":"GHSA-w73w-5m7g-f7qc"},{"ecosystem":"Go","fixed":["4.0.0-preview1"],"introduced":["0"],"last_affected":[],"package":"github.com/dgrijalva/jwt-go/v4","purl":"pkg:golang/github.com/dgrijalva/jwt-go/v4","source":"GO-2020-0017"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.19.0-1.2"],"introduced":["0"],"last_affected":[],"package":"telegraf","purl":"pkg:rpm/opensuse/telegraf\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11428-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.3.1-1.1"],"introduced":["0"],"last_affected":[],"package":"velero-plugin-for-microsoft-azure","purl":"pkg:rpm/opensuse/velero-plugin-for-microsoft-azure\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11668-1"}],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2020-26159"},"products":["n/a"],"published":"2020-09-30","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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can bypass access restrictions in jwt-go by exploiting audience claim type assertion failures, allowing unauthorized access to services.","url":"https://insights.sbomify.com/CVE-2020-26160/"}