# CVE-2021-31818: Affected versions of Octopus Server are prone to an authenticated SQL injection vulnerability in the Events REST API because user supplied…

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Published: 2021-06-17T13:22:17.000Z
- Modified: 2026-06-17T03:52:17.630Z
- Weaknesses: CWE-89
- Assigned by: Octopus

## Description

Affected versions of Octopus Server are prone to an authenticated SQL injection vulnerability in the Events REST API because user supplied data in the API request isn’t parameterised correctly. Exploiting this vulnerability could allow unauthorised access to database tables.

(As written by CVE List.)

## Affected

- Octopus Deploy Octopus Server: from 2018.9.17 before unspecified; from unspecified before 2020.6.5146; from 2021.1.7149 before unspecified; from unspecified before 2021.1.7316
- octopus server: from 2018.9.17 before 2018.13.0; from 2020.0.0 before 2020.6.0; from 2020.6.0 before 2020.6.5146; from 2021.1.0 before 2021.1.7316

## Every score

- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://advisories.octopus.com/adv/2021-04---SQL-Injection-in-the-Events-REST-API-%28CVE-2021-31818%29.2013233248.html>

## Sources

- CVE List: [CVE-2021-31818](https://www.cve.org/CVERecord?id=CVE-2021-31818), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31818](https://nvd.nist.gov/vuln/detail/CVE-2021-31818), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31818 · Whole record: https://cve.day/CVE-2021-31818.json · Rebuilt by cve.day 2026-11-25T22:58:01.982Z
