# CVE-2021-39167: TimelockController vulnerability in OpenZeppelin Contracts

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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.59%, higher than 76% of CVEs (2026-12-01)
- Published: 2021-08-26T23:35:16.000Z
- Modified: 2026-07-08T06:29:37.864Z
- Also known as: GHSA-fg47-3c2x-m2wr
- Weaknesses: CWE-269
- Assigned by: GitHub_M

## Description

OpenZepplin is a library for smart contract development. In affected versions a vulnerability in TimelockController allowed an actor with the executor role to escalate privileges. Further details about the vulnerability will be disclosed at a later date. As a workaround revoke the executor role from accounts not strictly under the team's control. We recommend revoking all executors that are not also proposers. When applying this mitigation, ensure there is at least one proposer and executor remaining.

(As written by CVE List.)

## Affected

- OpenZeppelin openzeppelin-contracts: >=4.0.0, < 4.3.1; >=3.3.0, < 3.4.2; >= 3.3.0-solc-0.7, < 3.4.2-solc-0.7
- @openzeppelin/contracts (npm): from 4.0.0 before 4.3.1; from 3.3.0 before 3.4.2
- openzeppelin contracts: from 3.3.0 before 3.4.2; from 4.0.0 before 4.3.1

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- 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://github.com/OpenZeppelin/openzeppelin-contracts/commit/cec4f2ef57495d8b1742d62846da212515d99dd5> (patch, third-party-advisory, web)
- <https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md#431> (patch, release-notes, third-party-advisory, web)
- <https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-fg47-3c2x-m2wr> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39167> (advisory)
- <https://github.com/OpenZeppelin/openzeppelin-contracts> (package)

## Sources

- CVE List: [CVE-2021-39167](https://www.cve.org/CVERecord?id=CVE-2021-39167), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-fg47-3c2x-m2wr](https://github.com/advisories/GHSA-fg47-3c2x-m2wr), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-39167](https://nvd.nist.gov/vuln/detail/CVE-2021-39167), Public domain, modified 2026-06-17

---

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