Feb 12, 2026·6 min read·67 visits
OpenMetadata < 1.11.8 leaked the `ingestion-bot` admin token in plain JSON API responses. Any logged-in user could grab it and take over the system. Fixed in 1.11.8 by nullifying credentials in standard API calls.
A critical information disclosure vulnerability in OpenMetadata's REST API allowed authenticated users with minimal privileges to retrieve the raw JWT tokens of the highly privileged 'ingestion-bot'. This flaw, present in versions prior to 1.11.8, stemmed from excessive data exposure in API responses, enabling a trivial privilege escalation path from read-only access to full administrative control over the metadata platform.
In the modern data stack, OpenMetadata acts as the 'Google Maps' for your enterprise data. It tells you where your data lives, who owns it, and how it flows from AWS Glue to Redshift to Tableau. To accomplish this Herculean task of cataloging, the platform relies on a tireless, automated worker known as the ingestion-bot.
This bot is not your average service account. Because it needs to crawl schemas, profile data, and update lineage across your entire infrastructure, it usually wields the Ingestion Bot Role—a role that carries significant administrative weight. It holds the keys to the kingdom because it needs them to do its job.
But here is the catch: for the bot to run ingestion pipelines, the server needs to pass it credentials. And in versions prior to 1.11.8, the OpenMetadata server was a little too generous with who it shared those credentials with. It turns out, if you asked the API nicely (and by nicely, I mean simply issuing a GET request), it would hand you the bot's identity on a silver platter.
The vulnerability (CVE-2026-26010) is a textbook example of CWE-213: Exposure of Sensitive Information Due to Incompatible Policies. In modern web development, particularly in Java ecosystems, it is common to map database entities directly to API responses using serialization libraries like Jackson.
The IngestionPipeline entity in OpenMetadata is a complex object. It stores the schedule, the status, and crucially, the openMetadataServerConnection. This connection object contains the configuration the pipeline needs to talk back to the OpenMetadata server—specifically, the authConfig which houses the JWT (JSON Web Token) or secrets.
When a user views the "Ingestion" tab in the UI, the frontend calls /api/v1/services/ingestionPipelines. The backend retrieves the pipeline details from the database. Because these secrets are stored encrypted, the backend dutifully calls secretsManager.decryptIngestionPipeline(ingestionPipeline) to prepare the object for use.
The fatal flaw was assuming that because the UI doesn't display the token, the API shouldn't worry about it. The backend serialized the entire decrypted object—including the sensitive connection details—and shipped it to the client. The browser received the full credentials, hidden only by the fact that the UI didn't render them.
Let's dig into openmetadata-service/src/main/java/org/openmetadata/service/resources/services/ingestionpipelines/IngestionPipelineResource.java.
In the vulnerable versions, the logic for preparing the pipeline resource for the response looked something like this (simplified for clarity):
// VULNERABLE CODE PATTERN
public IngestionPipeline get(@Context UriInfo uriInfo, ...) {
IngestionPipeline ingestionPipeline = repository.get(...);
// Decrypt everything so the object is "complete"
secretsManager.decryptIngestionPipeline(ingestionPipeline);
// The connection object (with the token) is set here
OpenMetadataConnection connection = new OpenMetadataConnectionBuilder(config).build();
ingestionPipeline.setOpenMetadataServerConnection(connection);
// The object is returned directly to the JSON serializer
return ingestionPipeline;
}The fix implemented in commit 1c05bf450c3eb7908ee501aedf8d5b433b9dca21 introduces a necessary check. The developers realized that the only time the client actually needs the token is when the pipeline is being deployed to an orchestration engine (like Airflow). For all other "look but don't touch" operations, that field should be empty.
// PATCHED CODE LOGIC
if (forceNotMask) {
// Only reveal secrets if explicitly requested for deployment
// AND presumably authorized (though the flag logic handles the exposure)
ingestionPipeline.setOpenMetadataServerConnection(
secretsManager.encryptOpenMetadataConnection(openMetadataServerConnection, false)
);
} else {
// DEFAULT: Nullify the connection to prevent leaks
ingestionPipeline.setOpenMetadataServerConnection(null);
}By default, forceNotMask is false. The API now returns a null connection object for standard GET requests, closing the leak.
You don't need advanced tooling to exploit this. You just need a web browser and a low-privileged account (even a 'Data Consumer' or read-only role often has visibility into service configurations).
Log in as a low-privileged user. Open your browser's Developer Tools (F12) and switch to the Network tab.
Navigate to Settings -> Services and click on any configured service (e.g., an S3 or Snowflake connection) that has an Ingestion Pipeline set up. This triggers a GET request to the API.
Look for a request typically matching: GET /api/v1/services/ingestionPipelines?service=...
Click on the response. You will see a standard JSON structure. Drill down into the object:
{
"id": "...",
"name": "Snowflake_Ingestion",
"openMetadataServerConnection": {
"securityConfig": {
"jwtToken": "ey...<THE_GOLDEN_TICKET>..."
}
},
...
}Copy that JWT. Open a terminal or use Postman. Set the header Authorization: Bearer <COPIED_TOKEN>.
Congratulations. You are now the ingestion-bot. You can likely DELETE service definitions, modify metadata schemas, or extract sample data that the bot has access to. You have effectively escalated to a system administrator.
The impact here is severe because of the implicit trust placed in the ingestion-bot. In many OpenMetadata deployments, this bot is the glue holding the platform together.
Privilege Escalation: The most immediate threat. A user who should only be able to browse data definitions can now administer the platform.
Data Integrity Loss: An attacker could modify lineage data, effectively "poisoning the well." Imagine changing the metadata to say that a sensitive PII table feeds into a public dashboard. Downstream compliance tools relying on this metadata would be blinded.
Service Disruption: The attacker can delete the ingestion pipelines themselves, halting data freshness updates across the organization. In a data-driven company, stale data is often as bad as no data.
This vulnerability highlights the danger of 'Implicit Trust' in API design—assuming that because a user is authenticated, they can be trusted with the internal state of the application objects.
The remediation is straightforward but urgent.
1. Update OpenMetadata: Upgrade to version 1.11.8 or later. The patch ensures that the openMetadataServerConnection is stripped from API responses unless specifically required for internal deployment operations.
2. Rotate Tokens: This is the step most teams forget. Patching stops the leak, but it doesn't invalidate the stolen keys. If an attacker scraped your API yesterday, they still have a valid JWT today. Go to the OpenMetadata admin console, navigate to the Bots section, and regenerate the tokens for your ingestion-bot.
3. Audit Access: Check your logs for unusual API activity originating from the ingestion-bot user, especially from IP addresses associated with standard user workstations rather than your orchestration infrastructure (e.g., Airflow/Kubernetes pods).
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L| Product | Affected Versions | Fixed Version |
|---|---|---|
OpenMetadata OpenMetadata | < 1.11.8 | 1.11.8 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-213 |
| Attack Vector | Network (API) |
| CVSS | 7.6 (High) |
| Privileges Required | Low (Authenticated) |
| Impact | Privilege Escalation / Info Disclosure |
| Exploit Status | Trivial / PoC Available |
Exposure of Sensitive Information Due to Incompatible Policies
NATS Server prior to versions 2.12.8 and 2.14.3 contains an incorrect authorization vulnerability (CWE-863) in its message tracing subsystem. When evaluating whether a connection is permitted to publish trace events to a destination subject specified in the Nats-Trace-Dest header, the server only checks standard client permissions and omits permission checks for leaf node connections. This allows a connected leaf node operator with restricted publishing privileges to emit internal trace events to unauthorized subjects and suppress standard message delivery using the Nats-Trace-Only header.
CVE-2026-63341 is a high-severity Denial of Service (DoS) vulnerability in the Aedes MQTT broker for Node.js affecting all versions prior to 1.1.1. The flaw stems from missing input validation on the hierarchical depth of incoming MQTT topic strings before they are passed to the underlying topic-matching engine, qlobber. Because qlobber enforces a hardcoded limit of 100 topic levels and throws a synchronous exception when this threshold is exceeded, an attacker can send a single MQTT packet containing 101 or more forward-slash-separated levels to trigger an uncaught exception that immediately terminates the Node.js broker process.
CVE-2026-61725 is a path traversal vulnerability (CWE-22) in the sevenz-rust2 Cargo package prior to version 0.21.1. The vulnerability occurs because the decompression utility fails to validate or sanitize archive entry filenames before joining them with the destination directory path via std::path::Path::join. An attacker who supplies a crafted 7z archive containing parent directory traversal sequences or absolute paths can write or overwrite arbitrary files on the host filesystem with the privileges of the extracting process.
CVE-2026-77309 (GHSA-jrjx-9jjw-747m) is a high-severity unauthenticated remote code execution vulnerability affecting NASA-AMMOS AIT-GUI versions 1.0.0 through 2.5.0. The flaw results from chaining an incomplete file cleanup error in the telemetry query endpoint (/tlm/query) with a directory traversal flaw in the script execution endpoint (/script/run). An attacker on an adjacent network can stage arbitrary Python statements into a static file on disk and execute that file under the privileges of the AIT-GUI web server process.
A vulnerability classified under CWE-116 (Improper Encoding or Escaping of Output) exists in memtomem-stm versions 0.1.0 through 0.1.33. The software acts as a Model Context Protocol (MCP) short-term memory proxy gateway for AI agent architectures. When surfacing retrieved memories and scratchpad items into downstream Large Language Model (LLM) context envelopes, the SurfacingFormatter component fails to properly sanitize untrusted memory attributes. An attacker with the ability to plant untrusted content into the agent's long-term or working memory store can inject arbitrary structural delimiters, close the <surfaced-memories> XML boundary prematurely, visually obscure instructions using Unicode bidirectional overrides, and execute stored prompt injection attacks against downstream LLM agents.
CVE-2026-77331 (GHSA-72jh-722p-rqr3) is a concurrency and session-state synchronization vulnerability in memtomem-stm, a short-term memory proxy gateway for AI agents. In versions 0.1.2 prior to 0.1.34, concurrent Model Context Protocol (MCP) Remote Procedure Call (RPC) failures or mid-flight task cancellations can initiate duplicate reconnect loops and permit dirty or cancelled transport sessions to be reused. This deficiency results in session-state integrity loss and local service degradation.