# CVE-2021-27228: An issue was discovered in Shinobi through ocean version 1.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.80%, higher than 79% of CVEs (2026-12-01)
- Published: 2021-02-22T16:16:53.000Z
- Modified: 2026-06-17T03:44:30.287Z
- Weaknesses: CWE-798
- Assigned by: mitre

## Description

An issue was discovered in Shinobi through ocean version 1. lib/auth.js has Incorrect Access Control. Valid API Keys are held in an internal JS Object. Therefore an attacker can use JS Proto Method names (such as constructor or hasOwnProperty) to convince the System that the supplied API Key exists in the underlying JS object, and consequently achieve complete access to User/Admin/Super API functions, as demonstrated by a /super/constructor/accounts/list URI.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- shinobi shinobi_pro: up to 1.0

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://shinobi.video/> (product)
- <https://gitlab.com/Shinobi-Systems/Shinobi/-/tags> (patch, third-party-advisory)
- <https://gitlab.com/Shinobi-Systems/Shinobi/-/merge_requests/286> (patch, third-party-advisory)

## Sources

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

---

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