# CVE-2023-31469: Apache StreamPipes: Privilege escalation through non-admin user

> A non-admin user can elevate privileges via an unrestricted REST interface in Apache StreamPipes, requiring an upgrade to fix.

- **Severity:** High 8.8 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 23 Jun 2023
- **Updated:** 9 Oct 2024
- **Also known as:** GHSA-pm73-x2h5-cmj3

## What is CVE-2023-31469?

CVE-2023-31469 is a high-severity vulnerability in Apache StreamPipes, published on 23 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

A REST interface in Apache StreamPipes (versions 0.69.0 to 0.91.0) was not properly restricted to admin-only access. This allowed a non-admin user with valid login credentials to elevate privileges beyond the initially assigned roles.
The issue is resolved by upgrading to StreamPipes 0.92.0.

Weakness: CWE-269 (Improper Privilege Management)

## Which versions are affected by CVE-2023-31469?

2 open source packages ship an affected version, including org.apache.streampipes:streampipes-parent. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.apache.streampipes:streampipes-parent` | Maven | From 0.69.0 | 0.92.0 |
| `org.apache.streampipes:streampipes-parent` | Maven | From 0.69.0 | 0.92.0 |

Products: Apache Streampipes.

## How do I fix CVE-2023-31469?

Upgrade org.apache.streampipes:streampipes-parent to 0.92.0 or later.

## Is CVE-2023-31469 being exploited?

There is no known exploitation of CVE-2023-31469 in the wild and no public exploit code.

## Other vulnerabilities in Apache StreamPipes

- [CVE-2024-29868](https://insights.sbomify.com/CVE-2024-29868/): Apache StreamPipes: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Recovery Token Generation (critical 9.1)
- [CVE-2025-47411](https://insights.sbomify.com/CVE-2025-47411/): Apache StreamPipes: Leverage of User ID for Privilege Escalation (high 8.1)
- [CVE-2024-31979](https://insights.sbomify.com/CVE-2024-31979/): Apache StreamPipes: Possibility of SSRF in pipeline element installation process (high 7.5)
- [CVE-2024-24778](https://insights.sbomify.com/CVE-2024-24778/): Apache StreamPipes: Resources Permission Escalation (medium 6.5)
- [CVE-2024-31411](https://insights.sbomify.com/CVE-2024-31411/): Apache StreamPipes: Potential remote code execution (RCE) via file upload (medium 6.0)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-31469 and fix it if it is affected.

What it is: CVE-2023-31469 is a high-severity vulnerability in Apache StreamPipes, published on 23 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-31469 in the wild and no public exploit code.

Affected packages and fixed versions:
- org.apache.streampipes:streampipes-parent (Maven): affected from 0.69.0; fixed in 0.92.0
- org.apache.streampipes:streampipes-parent (Maven): affected from 0.69.0; fixed in 0.92.0

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-31469/ (Markdown: https://insights.sbomify.com/CVE-2023-31469/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-31469
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-31469
- OSV: https://osv.dev/vulnerability/CVE-2023-31469

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-31469/
Summaries are generated and may contain mistakes; the official description above is the record.
