{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-57821 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-57821 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-57821 is a high-severity SQL injection vulnerability in Apache Fineract, published on 15 Jul 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-57821 and fix it if it is affected.\n\nWhat it is: CVE-2026-57821 is a high-severity SQL injection vulnerability in Apache Fineract, published on 15 Jul 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-57821 in the wild and no public exploit code.\n\nAffected product: Apache Fineract. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-57821/ (Markdown: https://insights.sbomify.com/CVE-2026-57821/index.md)","id":"CVE-2026-57821","markdown":"https://insights.sbomify.com/CVE-2026-57821/index.md","name":"CVE-2026-57821","record":{"aliases":["GHSA-wq49-6h5f-gc65"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Financial core banking","requires_auth":"low_privilege","summary":"Authenticated users can inject SQL via the orderBy parameter in Apache Fineract to exfiltrate data or cause denial of service.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"fineract","vendor":"apache"}],"cvss":{"score":8.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"A SQL Injection vulnerability exists in Apache Fineract's Office Search API (GET /api/v1/offices) in versions up to and including 1.14.0. The orderBy request parameter is concatenated into a SQL query without sufficient validation, allowing an authenticated user with permission to view offices to inject arbitrary SQL via a crafted orderBy value. This is a bypass of the ColumnValidator fix introduced for CVE-2024-32838, which does not detect bare subqueries in the ORDER BY position. This can be leveraged to perform time-based blind SQL injection for data exfiltration. Because the injected query blocks the database connection for its full duration, concurrent exploitation can exhaust the application's database connection pool, resulting in denial of service for other users. Users are recommended to upgrade to a version containing the fix.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-07-16","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-07-16T11:12:25Z","kind":"github_poc","ref":"https://github.com/tc4dy/CVE-2026-57821-PoC-Exploit","stars":3,"title":"CVE-2026-57821 - Apache Fineract SQL Injection Toolkit. Two Python scripts for authorized security testing: verifier.py (safe detection, no extraction) and exploit.py (deep analysis). Supports 11 DB types. Perfect for understanding SQL injection vulnerabilities. Only legal tests for educational \u0026 research purposes only."}],"tier":"poc_unverified"},"has_fix":false,"headline":"Apache Fineract: Office list: SQL Injection via Subquery in orderBy","id":"CVE-2026-57821","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Deserialization in Apache ActiveMQ Artemis","id":"CVE-2026-57822"},"packages":[],"prev":{"headline":"Apache CXF: No default restriction on the amount of form parameters per message","id":"CVE-2026-57819"},"products":["Apache Fineract"],"published":"2026-07-15","related":[{"cvss_score":9.9,"headline":"SQL injection in Apache Fineract","id":"CVE-2024-23538","kev_date_added":null,"published":"2024-03-29"},{"cvss_score":9.8,"headline":"SQL injection in Apache Fineract","id":"CVE-2018-11800","kev_date_added":null,"published":"2019-06-11"},{"cvss_score":9.8,"headline":"SQL injection in Apache Fineract","id":"CVE-2018-11801","kev_date_added":null,"published":"2019-06-11"},{"cvss_score":9.8,"headline":"SQL injection in Apache Fineract","id":"CVE-2018-1290","kev_date_added":null,"published":"2018-04-20"},{"cvss_score":9.4,"headline":"Apache Fineract: SQL injection vulnerabilities in offices API endpoint","id":"CVE-2024-32838","kev_date_added":null,"published":"2025-02-12"},{"cvss_score":9.1,"headline":"Apache Fineract: Server Key not masked","id":"CVE-2025-58130","kev_date_added":null,"published":"2025-12-12"},{"cvss_score":8.8,"headline":"Apache Fineract: SQL injection in runreports endpoint","id":"CVE-2026-35152","kev_date_added":null,"published":"2026-07-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["Apache Software Foundation"]},"summary":"Authenticated users can inject SQL via the orderBy parameter in Apache Fineract to exfiltrate data or cause denial of service.","url":"https://insights.sbomify.com/CVE-2026-57821/"}