{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-26920 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-26920 is a medium-severity server-side request forgery vulnerability in Apache Druid, published on 2 Jul 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-26920 and fix it if it is affected.\n\nWhat it is: CVE-2021-26920 is a medium-severity server-side request forgery vulnerability in Apache Druid, published on 2 Jul 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-26920 in the wild and no public exploit code.\n\nAffected product: Apache Druid. 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-2021-26920/ (Markdown: https://insights.sbomify.com/CVE-2021-26920/index.md)","id":"CVE-2021-26920","markdown":"https://insights.sbomify.com/CVE-2021-26920/index.md","name":"CVE-2021-26920","record":{"aliases":[],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Druid","requires_auth":"low_privilege","summary":"Authenticated users can bypass application restrictions to read local files via HTTP input source, exposing sensitive data.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"druid","vendor":"apache"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"}],"description":"In the Druid ingestion system, the InputSource is used for reading data from a certain data source. However, the HTTP InputSource allows authenticated users to read data from other sources than intended, such as the local file system, with the privileges of the Druid server process. This is not an elevation of privilege when users access Druid directly, since Druid also provides the Local InputSource, which allows the same level of access. But it is problematic when users interact with Druid indirectly through an application that allows users to specify the HTTP InputSource, but not the Local InputSource. In this case, users could bypass the application-level restriction by passing a file URL to the HTTP InputSource.","ecosystems":[],"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":"Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended","id":"CVE-2021-26920","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2021"},"n_packages":0,"n_references":6,"next":{"headline":"Auth bypass in n/a","id":"CVE-2021-26921"},"packages":[],"prev":{"headline":"Apache Druid Authenticated users can execute arbitrary code from malicious MySQL database systems.","id":"CVE-2021-26919"},"products":["Apache Druid"],"published":"2021-07-02","related":[{"cvss_score":9.8,"headline":"Apache Druid: Authentication Bypass via LDAP Anonymous Bind","id":"CVE-2026-23906","kev_date_added":null,"published":"2026-02-10"},{"cvss_score":9.8,"headline":"Apache Druid: Kerberos authenticaton chooses a cryptographically unsecure secret if not configured explicitly.","id":"CVE-2025-59390","kev_date_added":null,"published":"2025-11-26"},{"cvss_score":8.8,"headline":"Apache Druid Authenticated users can execute arbitrary code from malicious MySQL database systems.","id":"CVE-2021-26919","kev_date_added":null,"published":"2021-03-30"},{"cvss_score":8.8,"headline":"Authenticated users can override system configurations in their requests which allows them to execute arbitrary code.","id":"CVE-2021-25646","kev_date_added":null,"published":"2021-01-29"},{"cvss_score":6.5,"headline":"Apache Druid: Users can provide MySQL JDBC properties not on allow list","id":"CVE-2024-45537","kev_date_added":null,"published":"2024-09-17"},{"cvss_score":6.5,"headline":"Druid ingestion system Authenticated users can read data from other sources than intended","id":"CVE-2021-36749","kev_date_added":null,"published":"2021-09-24"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Apache Software Foundation"]},"summary":"Authenticated users can bypass application restrictions to read local files via HTTP input source, exposing sensitive data.","url":"https://insights.sbomify.com/CVE-2021-26920/"}