{"answers":{"affected":"1 open source package ship an affected version, including django-tenants.","exploited":"There is no known exploitation of CVE-2026-130082 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.","fix":"Upgrade django-tenants to 4.0.1 or later.","what":"CVE-2026-130082 is a high-severity SQL injection vulnerability in django-tenants, published on 16 Nov 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-130082 and fix it if it is affected.\n\nWhat it is: CVE-2026-130082 is a high-severity SQL injection vulnerability in django-tenants, published on 16 Nov 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-130082 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- django-tenants (PyPI): affected from 3.4.8; fixed in 4.0.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-130082/ (Markdown: https://insights.sbomify.com/CVE-2026-130082/index.md)","id":"CVE-2026-130082","markdown":"https://insights.sbomify.com/CVE-2026-130082/index.md","name":"CVE-2026-130082","record":{"aliases":["GHSA-693j-7v9f-x7pw","GHSA-pg64-4qv2-75g5"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Django tenant library","requires_auth":"low_privilege","requires_specific_call":true,"summary":"Attackers influencing a schema name can inject SQL via django-tenants' PostgreSQL backend to read or alter other tenants' data.","user_interaction":"not_required","vuln_class":"sql_injection","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"django-tenants 3.4.8 before 4.0.1 contains an SQL injection vulnerability in its PostgreSQL backend that allows attackers to inject SQL through unescaped tenant schema names. Attackers who can choose or influence a schema name can supply quote characters that are interpolated into SET search_path and CREATE, DROP or ALTER SCHEMA statements, letting them read other tenants' data or run SQL as the application's database user.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name","id":"CVE-2026-130082","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":1,"n_references":6,"n_vendor_status":0,"next":{"headline":"BookStack before 26.09.2 Storage Amplification via ZIP Import File References","id":"CVE-2026-130083"},"nickname":null,"packages":[{"ecosystem":"PyPI","fixed":["4.0.1"],"introduced":["3.4.8"],"last_affected":[],"name_kind":null,"package":"django-tenants","purl":"pkg:pypi/django-tenants","purl_source":"cna","scope":"upstream","source":"CVE-2026-130082"}],"prev":{"headline":"B3log Solo through 4.4.0 Article View Password Disclosure via /articles","id":"CVE-2026-130081"},"products":["django-tenants"],"published":"2026-11-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"total"},"state":"PUBLISHED","updated":"2026-11-17","vendor_status":[],"vendors":["django-tenants"]},"summary":"Attackers influencing a schema name can inject SQL via django-tenants' PostgreSQL backend to read or alter other tenants' data.","url":"https://insights.sbomify.com/CVE-2026-130082/"}