{"answers":{"affected":"3 open source packages ship an affected version, including github.com/openfga/openfga. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40293 in the wild and no public exploit code.","fix":"Upgrade github.com/openfga/openfga to 1.14.0 or later.","what":"CVE-2026-40293 is a medium-severity vulnerability in openfga, published on 17 Apr 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-40293 and fix it if it is affected.\n\nWhat it is: CVE-2026-40293 is a medium-severity vulnerability in openfga, published on 17 Apr 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-40293 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/openfga/openfga (Go): affected from 0.1.4; fixed in 1.14.0\n- github.com/openfga/openfga (Go): affected from 0.1.4; fixed in 1.14.0\n- github.com/openfga/openfga (Go): affected from 0.1.4; fixed in 1.14.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-40293/ (Markdown: https://insights.sbomify.com/CVE-2026-40293/index.md)","id":"CVE-2026-40293","markdown":"https://insights.sbomify.com/CVE-2026-40293/index.md","name":"CVE-2026-40293","record":{"aliases":["CLEANSTART-2026-CB09897","GHSA-68m9-983m-f3v5","GO-2026-5170","MINI-29f3-pwmh-57q9","MINI-3fj4-pj3g-fg3m","MINI-4842-93m8-pm74","MINI-4924-7hc6-26wv","MINI-49f8-rgjq-w5h2","MINI-83r9-77rq-2j4v","MINI-8j9v-3m2x-7qm7","MINI-8m4q-6qjp-hqj6","MINI-8v66-mgm3-fr7w","MINI-f437-qhfm-r7vf","MINI-h2j9-pqw3-54f3","MINI-p232-4vcw-99r9","MINI-r49q-hqhj-6q5v","MINI-v24m-v8v4-qpjj","MINI-vcfc-r52c-4528","MINI-w8pr-vx5q-hxm3","MINI-xc6r-qj9m-v999","MINI-xxqf-c23m-3c97"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"OpenFGA authorization engine","requires_auth":"none","summary":"Attackers can read the preshared API key from the playground endpoint if exposed, allowing unauthorized access to the authorization service.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"openfga","vendor":"openfga"}],"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-201","name":"Insertion of Sensitive Information Into Sent Data"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"OpenFGA is an authorization/permission engine built for developers. In versions 0.1.4 through 1.13.1, when OpenFGA is configured to use preshared-key authentication with the built-in playground enabled, the local server includes the preshared API key in the HTML response of the /playground endpoint. The /playground endpoint is enabled by default and does not require authentication. It is intended for local development and debugging and is not designed to be exposed to production environments. Only those who run OpenFGA with `--authn-method` preshared, with the playground enabled, and with the playground endpoint accessible beyond localhost or trusted networks are vulnerable. To remediate the issue, users should upgrade to OpenFGA v1.14.0, or disable the playground by running `./openfga run --playground-enabled=false.`","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 Playground Preshared Key Exposure","id":"CVE-2026-40293","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Devise: Open Redirect via Unvalidated `request.referrer` in Timeoutable Session Timeout Handler","id":"CVE-2026-40295"},"packages":[{"ecosystem":"Go","fixed":["1.14.0"],"introduced":["0.1.4"],"last_affected":[],"package":"github.com/openfga/openfga","purl":null,"source":"GHSA-68m9-983m-f3v5"},{"ecosystem":"Go","fixed":["1.14.0"],"introduced":["0.1.4"],"last_affected":[],"package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"GHSA-68m9-983m-f3v5"},{"ecosystem":"Go","fixed":["1.14.0"],"introduced":["0.1.4"],"last_affected":[],"package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"GO-2026-5170"}],"prev":{"headline":"Chamilo LMS has Privilege Escalation via API User Role Modification","id":"CVE-2026-40291"},"products":["openfga"],"published":"2026-04-17","related":[{"cvss_score":8.1,"headline":"OpenFGA Authorization Bypass","id":"CVE-2024-31452","kev_date_added":null,"published":"2024-04-16"},{"cvss_score":7.7,"headline":"OpenFGA Authorization Bypass","id":"CVE-2022-23542","kev_date_added":null,"published":"2022-12-20"},{"cvss_score":7.5,"headline":"OpenFGA Authorization Bypass","id":"CVE-2024-42473","kev_date_added":null,"published":"2024-08-09"},{"cvss_score":6.5,"headline":"OpenFGA Authorization Bypass","id":"CVE-2023-40579","kev_date_added":null,"published":"2023-08-25"},{"cvss_score":5.9,"headline":"Denial of service from circular relationship definitions in OpenFGA","id":"CVE-2023-43645","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":5.9,"headline":"OpenFGA denial of service die to circular relationship","id":"CVE-2023-35933","kev_date_added":null,"published":"2023-06-26"}],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-09","vendors":["openfga"]},"summary":"Attackers can read the preshared API key from the playground endpoint if exposed, allowing unauthorized access to the authorization service.","url":"https://insights.sbomify.com/CVE-2026-40293/"}