{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.pinot:pinot. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-26112 in the wild and no public exploit code.","fix":"Upgrade org.apache.pinot:pinot to 0.11.0 or later.","what":"CVE-2022-26112 is a critical code injection vulnerability in Apache Pinot, published on 23 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-26112 and fix it if it is affected.\n\nWhat it is: CVE-2022-26112 is a critical code injection vulnerability in Apache Pinot, published on 23 Sep 2022. 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-2022-26112 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.pinot:pinot (Maven): affected all versions; fixed in 0.11.0\n- org.apache.pinot:pinot (Maven): affected all versions; fixed in 0.11.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-2022-26112/ (Markdown: https://insights.sbomify.com/CVE-2022-26112/index.md)","id":"CVE-2022-26112","markdown":"https://insights.sbomify.com/CVE-2022-26112/index.md","name":"CVE-2022-26112","record":{"aliases":["GHSA-qj9p-jvmw-82rh"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Pinot","requires_auth":"none","summary":"Attackers can execute arbitrary code via Groovy functions in Apache Pinot query and ingestion layers if security features are disabled.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"pinot","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"In 0.10.0 or older versions of Apache Pinot, Pinot query endpoint and realtime ingestion layer has a vulnerability in unprotected environments due to a groovy function support. In order to avoid this, we disabled the groovy function support by default from Pinot release 0.11.0. See https://docs.pinot.apache.org/basics/releases/0.11.0","ecosystems":["Maven"],"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 Pinot has Groovy Function support enabled by default","id":"CVE-2022-26112","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2022"},"n_packages":2,"n_references":1,"next":{"headline":"Privilege escalation in Fortinet FortiClientWindows","id":"CVE-2022-26113"},"packages":[{"ecosystem":"Maven","fixed":["0.11.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.pinot:pinot","purl":null,"source":"GHSA-qj9p-jvmw-82rh"},{"ecosystem":"Maven","fixed":["0.11.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.pinot:pinot","purl":"pkg:maven/org.apache.pinot/pinot","source":"GHSA-qj9p-jvmw-82rh"}],"prev":{"headline":"Code injection in n/a","id":"CVE-2022-26111"},"products":["Apache Pinot"],"published":"2022-09-23","related":[{"cvss_score":9.8,"headline":"Apache Pinot: Authentication bypass issue. If the path does not contain / and contain . authentication is not required","id":"CVE-2024-56325","kev_date_added":null,"published":"2025-04-01"},{"cvss_score":7.5,"headline":"Apache Pinot: Unauthorized endpoint exposed sensitive information","id":"CVE-2024-39676","kev_date_added":null,"published":"2024-07-24"},{"cvss_score":7.5,"headline":"Pinot segment push endpoint has a vulnerability in unprotected environments","id":"CVE-2022-23974","kev_date_added":null,"published":"2022-04-05"}],"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":"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":"total"},"state":"PUBLISHED","updated":"2025-05-27","vendors":["Apache Software Foundation"]},"summary":"Attackers can execute arbitrary code via Groovy functions in Apache Pinot query and ingestion layers if security features are disabled.","url":"https://insights.sbomify.com/CVE-2022-26112/"}