{"answers":{"affected":"6 open source packages ship an affected version, including @nocobase/auth.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-13877 exists.","fix":"Upgrade @nocobase/auth to a fixed version for your release line: 1.9.0-beta.18, 1.9.23 or 2.0.0-alpha.52.","what":"CVE-2025-13877 is a medium-severity vulnerability in nocobase, published on 2 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-13877 and fix it if it is affected.\n\nWhat it is: CVE-2025-13877 is a medium-severity vulnerability in nocobase, published on 2 Dec 2025. 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-2025-13877 exists.\n\nAffected packages and fixed versions:\n- @nocobase/auth (npm): affected all versions; fixed in 1.9.0-beta.18\n- @nocobase/auth (npm): affected all versions; fixed in 1.9.0-beta.18\n- @nocobase/auth (npm): affected from 1.9.0; fixed in 1.9.23\n- @nocobase/auth (npm): affected from 1.9.0; fixed in 1.9.23\n- @nocobase/auth (npm): affected from 2.0.0-alpha.1; fixed in 2.0.0-alpha.52\n- @nocobase/auth (npm): affected from 2.0.0-alpha.1; fixed in 2.0.0-alpha.52\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-2025-13877/ (Markdown: https://insights.sbomify.com/CVE-2025-13877/index.md)","id":"CVE-2025-13877","markdown":"https://insights.sbomify.com/CVE-2025-13877/index.md","name":"CVE-2025-13877","record":{"aliases":["GHSA-mv7p-34fv-4874"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["security_bypass","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Nocobase no-code platform","requires_auth":"none","summary":"Attackers can exploit a hard-coded JWT key in Nocobase to bypass authentication and potentially take over accounts.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"},{"id":"CWE-320","name":null}],"description":"A vulnerability was detected in nocobase up to 1.9.4/2.0.0-alpha.37. The affected element is an unknown function of the file nocobase\\packages\\core\\auth\\src\\base\\jwt-service.ts of the component JWT Service. The manipulation of the argument API_KEY results in use of hard-coded cryptographic key\r . The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is described as difficult. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"nocobase JWT Service jwt-service.ts hard-coded key","id":"CVE-2025-13877","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"hardcoded_credentials","year":"2025"},"n_packages":6,"n_references":4,"next":{"headline":"Malformed BRID/HHIT records can cause named to terminate unexpectedly","id":"CVE-2025-13878"},"packages":[{"ecosystem":"npm","fixed":["1.9.0-beta.18"],"introduced":["0"],"last_affected":[],"package":"@nocobase/auth","purl":null,"source":"GHSA-mv7p-34fv-4874"},{"ecosystem":"npm","fixed":["1.9.0-beta.18"],"introduced":["0"],"last_affected":[],"package":"@nocobase/auth","purl":"pkg:npm/%40nocobase/auth","source":"GHSA-mv7p-34fv-4874"},{"ecosystem":"npm","fixed":["1.9.23"],"introduced":["1.9.0"],"last_affected":[],"package":"@nocobase/auth","purl":null,"source":"GHSA-mv7p-34fv-4874"},{"ecosystem":"npm","fixed":["1.9.23"],"introduced":["1.9.0"],"last_affected":[],"package":"@nocobase/auth","purl":"pkg:npm/%40nocobase/auth","source":"GHSA-mv7p-34fv-4874"},{"ecosystem":"npm","fixed":["2.0.0-alpha.52"],"introduced":["2.0.0-alpha.1"],"last_affected":[],"package":"@nocobase/auth","purl":null,"source":"GHSA-mv7p-34fv-4874"},{"ecosystem":"npm","fixed":["2.0.0-alpha.52"],"introduced":["2.0.0-alpha.1"],"last_affected":[],"package":"@nocobase/auth","purl":"pkg:npm/%40nocobase/auth","source":"GHSA-mv7p-34fv-4874"}],"prev":{"headline":"Rareprob HD Video Player All Formats App com.rocks.music.videoplayer path traversal","id":"CVE-2025-13876"},"products":["nocobase"],"published":"2025-12-02","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-02","vendors":["n/a"]},"summary":"Attackers can exploit a hard-coded JWT key in Nocobase to bypass authentication and potentially take over accounts.","url":"https://insights.sbomify.com/CVE-2025-13877/"}