# CVE-2021-43781: Permissions not properly checked in Invenio-Drafts-Resources

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/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.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-06T17:45:10.000Z
- Modified: 2026-07-08T06:28:15.987Z
- Also known as: GHSA-xr38-w74q-r8jv, PYSEC-2021-836, PYSEC-2021-837, PYSEC-2021-838
- Weaknesses: CWE-862, CWE-863
- Assigned by: GitHub_M

## Description

Invenio-Drafts-Resources is a submission/deposit module for Invenio, a software framework for research data management. Invenio-Drafts-Resources prior to versions 0.13.7 and 0.14.6 does not properly check permissions when a record is published. The vulnerability is exploitable in a default installation of InvenioRDM. An authenticated a user is able via REST API calls to publish draft records of other users if they know the record identifier and the draft validates (e.g. all require fields filled out). An attacker is not able to modify the data in the record, and thus e.g. *cannot* change a record from restricted to public. The problem is patched in Invenio-Drafts-Resources v0.13.7 and 0.14.6, which is part of InvenioRDM v6.0.1 and InvenioRDM v7.0 respectively.

(As written by CVE List.)

## Affected

- inveniosoftware invenio-drafts-resources: < 0.13.7; >= 0.14.0, < 0.14.6; before 0.13.7; from 0.14.0 before 0.14.6
- invenio-drafts-resources (PyPI): before 0.13.7; from 0.14.0 before 0.14.6; before 039b0cff1ad4b952000f4d8c3a93f347108b6626
- invenio-app-rdm (PyPI): before 6.0.5; from 7.0.0.dev0 before 7.0.0.dev5; before 039b0cff1ad4b952000f4d8c3a93f347108b6626
- invenio-rdm-records (PyPI): before 0.32.6; from 0.33.0 before 0.33.10; before 039b0cff1ad4b952000f4d8c3a93f347108b6626

## Every score

- GitHub_M: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- 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://github.com/inveniosoftware/invenio-drafts-resources/security/advisories/GHSA-xr38-w74q-r8jv> (exploit, advisory, third-party-advisory, web)
- <https://github.com/inveniosoftware/invenio-drafts-resources/commit/039b0cff1ad4b952000f4d8c3a93f347108b6626> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43781> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/invenio-app-rdm/PYSEC-2021-837.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/invenio-drafts-resources/PYSEC-2021-836.yaml> (web)

## Sources

- CVE List: [CVE-2021-43781](https://www.cve.org/CVERecord?id=CVE-2021-43781), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-xr38-w74q-r8jv](https://github.com/advisories/GHSA-xr38-w74q-r8jv), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-43781](https://nvd.nist.gov/vuln/detail/CVE-2021-43781), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-836](https://osv.dev/vulnerability/PYSEC-2021-836), CC-BY-4.0, modified 2023-11-08
- PyPA Advisory Database: [PYSEC-2021-837](https://osv.dev/vulnerability/PYSEC-2021-837), CC-BY-4.0, modified 2023-11-08
- PyPA Advisory Database: [PYSEC-2021-838](https://osv.dev/vulnerability/PYSEC-2021-838), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-43781 · Whole record: https://cve.day/CVE-2021-43781.json · Rebuilt by cve.day 2026-11-25T22:24:36.152Z
