CVE-2021-43781
Permissions not properly checked in Invenio-Drafts-Resources
Also known as GHSA-xr38-w74q-r8jv, PYSEC-2021-836, PYSEC-2021-837, PYSEC-2021-838
Mitigation
- Upgrade invenio-drafts-resources to one of 0.13.7, 0.14.6 (or later in the same release line).
- Upgrade invenio-app-rdm to one of 6.0.5, 7.0.0.dev5 (or later in the same release line).
- Upgrade invenio-rdm-records to one of 0.32.6, 0.33.10 (or later in the same release line).
Who should check
- Projects that depend on PyPI package invenio-drafts-resources (< 0.13.7)
- Projects that depend on PyPI package invenio-app-rdm (< 6.0.5)
- Projects that depend on PyPI package invenio-rdm-records (< 0.32.6)
- Anyone running inveniosoftware invenio-drafts-resources < 0.13.7; >= 0.14.0, < 0.14.6
Vulnerability facts
- Affected
- invenio-drafts-resources < 0.13.7; invenio-app-rdm < 6.0.5; invenio-rdm-records < 0.32.6
- Fixed in
- 0.13.7, 0.14.6, 6.0.5, 7.0.0.dev5, 0.32.6, 0.33.10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.68% chance of exploitation in 30 days (percentile 48, 2026-11-26)
- CWE
- CWE-862
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI invenio-drafts-resources | < 0.13.7 | 0.13.7, 0.14.6 | osv |
| PyPI invenio-app-rdm | < 6.0.5 | 6.0.5, 7.0.0.dev5 | osv |
| PyPI invenio-rdm-records | < 0.32.6 | 0.32.6, 0.33.10 | osv |
| inveniosoftware invenio-drafts-resources | < 0.13.7; >= 0.14.0, < 0.14.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-43781. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-43781.md Affected: invenio-drafts-resources < 0.13.7; invenio-app-rdm < 6.0.5; invenio-rdm-records < 0.32.6 Fixed in: 0.13.7, 0.14.6, 6.0.5, 7.0.0.dev5, 0.32.6, 0.33.10 Steps: 1. Search this machine and project for invenio-drafts-resources (PyPI), invenio-app-rdm (PyPI), invenio-rdm-records (PyPI), inveniosoftware invenio-drafts-resources: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2021-43781 being exploited?
There is no confirmed exploitation: CVE-2021-43781 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-43781?
Medium: CVSS 6.4 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2021-43781?
invenio-drafts-resources < 0.13.7; invenio-app-rdm < 6.0.5; invenio-rdm-records < 0.32.6.
Is there a fix for CVE-2021-43781?
Yes. Fixed in 0.13.7, 0.14.6, 6.0.5, 7.0.0.dev5, 0.32.6, 0.33.10. Upgrade invenio-drafts-resources to one of 0.13.7, 0.14.6 (or later in the same release line). Upgrade invenio-app-rdm to one of 6.0.5, 7.0.0.dev5 (or later in the same release line). Upgrade invenio-rdm-records to one of 0.32.6, 0.33.10 (or later in the same release line).
How do I check if I'm affected by CVE-2021-43781?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.