Summary
Redpanda Connect's streams management API can accept pipeline changes without authentication when it is exposed and no authentication gate is configured. A network-reachable attacker may be able to submit a pipeline containing code-executing processors and run commands with the service account's permissions.
Affected context
The issue affects Redpanda Connect deployments using streams mode where the management HTTP API is reachable on TCP/4195 and stream CRUD routes lack authentication. Versions 4.39 through 4.110 expose this API by default; in v4.111 and later, the endpoint is opt-in, but enabling it with --bind-http may leave the same risk if access is not protected.
Exploit preconditions
- Attack surface: The streams management HTTP API, typically reachable on TCP/4195
- Required access: Network access to the API; no credentials are required when its routes are unauthenticated
- Trigger point: Submission of a pipeline definition through a stream CRUD route
- Why exploitation is possible: The API accepts pipeline changes without an authentication gate, and configured processors may execute commands or otherwise access host resources
Why this happens
The management API exposes state-changing stream routes without verifying the identity or permissions of the caller. This is a missing authentication control, mapped to CWE-306: Missing Authentication for Critical Function. Because pipeline definitions can invoke powerful processors, unauthenticated access to those routes can turn control-plane input into code execution within the service's privilege boundary.
Potential impact
- An attacker may execute commands with the Redpanda Connect service account's permissions.
- The host or service runtime could be compromised.
- Credentials accessible to the service may be exposed or stolen.
- Data may be read, altered, or exfiltrated.
General mitigation guidance
Mitigation centers on protecting management operations and limiting the consequences of pipeline execution.
Common defensive patterns include:
- Require strong authentication and authorization for all stream CRUD routes.
- Keep management endpoints disabled unless they are explicitly needed.
- Restrict API reachability to trusted networks or callers using network controls.
- Limit or disable processors capable of executing commands or accessing sensitive resources when they are not required.
- Run the service with least privilege and minimize its access to credentials, files, and other host resources.
- Treat pipeline definitions as privileged configuration and constrain who can create or modify them.
How teams detect issues like this
- Review deployment configuration and runtime arguments for management API listeners, including bindings to all network interfaces.
- Check whether stream CRUD routes enforce authentication and authorization consistently.
- Use static analysis and code review to identify state-changing management routes that lack identity or permission checks.
- Monitor API access logs for unexpected stream creation or modification, especially from untrusted network locations.
- Apply policy checks to flag exposed management endpoints and pipelines that enable high-risk processors.
- Automated security review tools may help identify missing access-control checks and risky processor configurations.

