- Product
- Paragraphs (Drupal module)
- Versions
- Before 1.21.0 · fixed in 1.21.0
- Severity
- MediumModerately critical
- CVE
- CVE-2026-13241, assigned by Drupal · SA-CONTRIB-2026-061
- Found by
- Mustafa Ahmed, Fortress MSSP
- Published
- November 11, 2026CVE published by Drupal on July 10, 2026
Description
Missing Authorization vulnerability in Drupal Paragraphs allows Forceful Browsing. This issue affects Paragraphs versions: from 0.0.0 to 1.21.0.
From the CVE record · CWE-862 Missing Authorization
Technical analysis
ParagraphAccessControlHandler::checkAccess() normally combines a paragraph's own access result with the access result of its parent entity, but before 8.x-1.21 it skipped the parent check entirely whenever the parent was a paragraphs_library_item (code comment: "Library items have no support for parent entity access checking"). Because the handler's own result for non view operations is AccessResult::allowed(), update and delete access to a library item's direct child paragraph was not tied to any access check on the library item itself. SA-CONTRIB-2026-061 describes the effect as insufficiently restricted access to direct child paragraphs of library items through API endpoints, mitigated by requiring the paragraphs_library module and general write access to paragraphs through another module.
else {
$access_result = AccessResult::allowed();
}
if ($paragraph->getParentEntity() != NULL) {
// Delete permission on the paragraph, should just depend on 'update'
// access permissions on the parent.
$operation = ($operation == 'delete') ? 'update' : $operation;
// Library items have no support for parent entity access checking.
if ($paragraph->getParentEntity()->getEntityTypeId() != 'paragraphs_library_item') {
$parent_access = $paragraph->getParentEntity()->access($operation, $account, TRUE);
$access_result = $access_result->andIf($parent_access);
}
}
return $access_result;
}
Commit 20a447f applies the parent library item's access check to the child paragraph for every operation except 'view' (delete is mapped to 'update'), and for 'view' requires the library item's admin permission when the library item is unpublished. LibraryItemAccessControlHandler now forwards only 'view' checks to the referenced paragraph. A companion commit in the same release (7a3bf7d) adds a query alter limiting library item entity queries to published items for users without 'administer paragraphs library' or 'view any unpublished content'.
else {
$access_result = AccessResult::allowed();
}
if ($paragraph->getParentEntity() != NULL) {
// Delete permission on the paragraph, should just depend on 'update'
// access permissions on the parent.
$operation = ($operation == 'delete') ? 'update' : $operation;
$parent = $paragraph->getParentEntity();
if (!$parent instanceof LibraryItemInterface || $operation !== 'view') {
$parent_access = $parent->access($operation, $account, TRUE);
$access_result = $access_result->andIf($parent_access);
}
elseif (!$parent->isPublished()) {
// Replicate the \Drupal\paragraphs_library\LibraryItemAccessControlHandler::checkAccess() access check.
$access_result = $access_result->andIf(AccessResult::allowedIfHasPermission($account, $parent->getEntityType()->getAdminPermission()));
}
}
return $access_result;
}
Fortress’s reading of the public source code at the versions shown.
Severity
Drupal rates it Moderately critical. CISA’s ADP scores it 6.5 (medium) in the CVE record.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NCISA ADP
Remediation
Update Paragraphs to 1.21.0 or later.
Disclosure timeline
- CVE ID reserved by Drupal.
- Fix committed to the project repository (20a447f).
- Version 8.x-1.21 released.
- Public date given by Drupal in the CVE record.
- CVE published by Drupal.
- Published on this site.
Credit
Found and reported by Mustafa Ahmed of Fortress MSSP. The CVE record credits Mustafa Ahmed (mustafa007) as finder. It credits Sascha Grossenbacher (berdir) as remediation developer. It credits Greg Knaddison (greggles) and Juraj Nemec (poker10) as coordinators.