{"answers":{"affected":"3 open source packages ship an affected version, including github.com/openfga/openfga. It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-41131 in the wild and no public exploit code.","fix":"Upgrade github.com/openfga/openfga to 1.14.1 or later.","what":"CVE-2026-41131 is a medium-severity missing authorization vulnerability in openfga, published on 21 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41131 and fix it if it is affected.\n\nWhat it is: CVE-2026-41131 is a medium-severity missing authorization vulnerability in openfga, published on 21 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-41131 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/openfga/openfga (Go): affected all versions; fixed in 1.14.1\n- github.com/openfga/openfga (Go): affected all versions; fixed in 1.14.1\n- github.com/openfga/openfga (Go): affected all versions; fixed in 1.14.1\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-41131/ (Markdown: https://insights.sbomify.com/CVE-2026-41131/index.md)","id":"CVE-2026-41131","markdown":"https://insights.sbomify.com/CVE-2026-41131/index.md","name":"CVE-2026-41131","record":{"aliases":["GHSA-57j5-qwp2-vqp6","GO-2026-5136","MINI-2vm4-ccq9-h7mm","MINI-78ph-vfw2-478p","MINI-7xv4-wjhr-659v","MINI-c6qc-58c7-285j","MINI-cmc8-wj27-7qw3","MINI-cvm8-v5r3-c6x6","MINI-g262-wvc7-8ch5","MINI-gpfj-mm74-6gvc","MINI-hfxw-9wpp-2m9q","MINI-hjv2-4c5h-55xc","MINI-j6rh-h8qp-qq88","MINI-pcx5-4r3x-r8xc","MINI-pm8p-jrrw-4c3w","MINI-pq4h-gh97-h3m3","MINI-qvrx-3m25-9jc8","MINI-rc89-6xwm-qcp9","MINI-rmhg-p38v-xxr6","MINI-xcr3-wxxv-3fjh"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"OpenFGA authorization engine","requires_auth":"low_privilege","summary":"Attackers can bypass authorization checks in OpenFGA when caching is enabled and conditions are used, potentially gaining unauthorized access.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"helm_charts","vendor":"openfga"},{"product":"openfga","vendor":"openfga"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference"}],"description":"OpenFGA is an authorization/permission engine built for developers. Prior to version 1.14.1, in specific scenarios, models using conditions with caching enabled can result in two different check requests producing the same cache key. This could result in OpenFGA reusing an earlier cached result for a subsequent request. The preconditions for vulnerability are the model having relations which rely on condition evaluation and the user having caching enabled. OpenFGA v1.14.1 contains a fix.","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":"OpenFGA has Improper Policy Enforcement","id":"CVE-2026-41131","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"CKAN: No certificate validation on STMP connection","id":"CVE-2026-41132"},"packages":[{"ecosystem":"Go","fixed":["1.14.1"],"introduced":["0"],"last_affected":[],"package":"github.com/openfga/openfga","purl":null,"source":"GHSA-57j5-qwp2-vqp6"},{"ecosystem":"Go","fixed":["1.14.1"],"introduced":["0"],"last_affected":[],"package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"GHSA-57j5-qwp2-vqp6"},{"ecosystem":"Go","fixed":["1.14.1"],"introduced":["0"],"last_affected":[],"package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"GO-2026-5136"}],"prev":{"headline":"Craft CMS has a host header injection leading to SSRF via resource-js endpoint","id":"CVE-2026-41130"},"products":["openfga"],"published":"2026-04-21","related":[{"cvss_score":6.8,"headline":"OpenFGA: OIDC audience validation skipped when --authn-oidc-audience is unset","id":"CVE-2026-55689","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":5.8,"headline":"OpenFGA Improper Policy Enforcement","id":"CVE-2026-24851","kev_date_added":null,"published":"2026-02-06"},{"cvss_score":5.8,"headline":"OpenFGA Improper Policy Enforcement","id":"CVE-2025-64751","kev_date_added":null,"published":"2025-11-21"},{"cvss_score":5.8,"headline":"OpenFGA Authorization Bypass (Check)","id":"CVE-2025-55213","kev_date_added":null,"published":"2025-08-18"},{"cvss_score":5.8,"headline":"OpenFGA Authorization Bypass","id":"CVE-2025-48371","kev_date_added":null,"published":"2025-05-22"},{"cvss_score":5.8,"headline":"OpenFGA Authorization Bypass","id":"CVE-2025-46331","kev_date_added":null,"published":"2025-04-30"},{"cvss_score":5.8,"headline":"OpenFGA Authorization Bypass","id":"CVE-2025-25196","kev_date_added":null,"published":"2025-02-19"}],"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":"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-22","vendors":["openfga"]},"summary":"Attackers can bypass authorization checks in OpenFGA when caching is enabled and conditions are used, potentially gaining unauthorized access.","url":"https://insights.sbomify.com/CVE-2026-41131/"}