CVE-2026-32818: Admidio/admidio Admidio Is Missing Authorization On Vulnerability

MODERATE
Advisory Identifier: GHSA-g375-5wmp-xr78
CVSS 6.5
CWE-862
Published
Advisory Summary

CVE-2026-32818 is a MODERATE (CVSS 6.5) admidio is missing authorization on vulnerability (CWE-862: Missing Authorization) affecting Admidio/admidio libraries in the Packagist ecosystem. The issue involves admidio is missing authorization on forum topic and post deletion. Remediation is available by upgrading affected packages to version 5.0.7.

CVE-2026-32818 at a Glance

CVE Identifier CVE-2026-32818
GHSA Identifier GHSA-g375-5wmp-xr78
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-862: Missing Authorization
Affected Product Admidio/admidio
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-32818

To remediate this vulnerability, upgrade all affected Admidio/admidio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

admidio/admidio fixed: 5.0.7
Upgrade admidio/admidio to 5.0.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for admidio/admidio

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-32818, inspect your project dependencies for Admidio/admidio:

inspect dependencies for admidio/admidio

Analyze the terminal output to locate any version of Admidio/admidio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.7), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Admidio/admidio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary The forum module in Admidio does not verify whether the current user has permission to delete forum topics or posts. Both the `topic_delete` and `post_delete` actions in `forum.php` only validate the CSRF token but perform no authorization check before calling `delete()`. Any authenticated user with forum access can delete any topic (with all its posts) or any individual post by providing its UUID. This is inconsistent with the save/edit operations, which properly check `isAdministratorForum()` and ownership before allowing modifications. ## Details ### Vulnerable Code Path 1: Topic Deletion File: `D:\bugcrowd\admidio\repo\modules\forum.php`, lines 98-108 The topic_delete handler validates CSRF but never calls `$topic->isEditable()`: ```php case 'topic_delete': // check the CSRF token of the form against the session token SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']); $topic = new Topic($gDb); $topic->readDataByUuid($getTopicUUID); $topic->delete(); echo json_encode(array('status' => 'success')); break; ``` The `Topic` class has an `isEditable()` method (lines 144-164 of `ListConfiguration.php`) that properly checks `isAdministratorForum()` and `getAllEditableCategories('FOT')`, but it is never called in the delete path. ### Vulnerable Code Path 2: Post Deletion File: `D:\bugcrowd\admidio\repo\modules\forum.php`, lines 125-134 The post_delete handler also validates CSRF but performs no authorization check: ```php case 'post_delete': // check the CSRF token of the form against the session token SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']); $post = new Post($gDb); $post->readDataByUuid($getPostUUID); $post->delete(); echo json_encode(array('status' => 'success')); break; ``` ### Contrast with Save Operations (Properly Authorized) The `ForumTopicService::savePost()` method in `D:\bugcrowd\admidio\repo\src\Forum\Service\ForumTopicService.php` lines 117-121 correctly verifies authorization: ```php if ($postUUID !== '') { $post->readDataByUuid($postUUID); if (!$gCurrentUser->isAdministratorForum() && $post->getValue('fop_usr_id_create') !== $gCurrentUser->getValue('usr_id')) { throw new Exception('You are not allowed to edit this post.'); } } ``` The delete operations should have equivalent checks but do not. ### Module-Level Access Check File: `D:\bugcrowd\admidio\repo\modules\forum.php`, lines 53-59 The only check before the delete operations is the module-level access check: ```php if ($gSettingsManager->getInt('forum_module_enabled') === 0) { throw new Exception('SYS_MODULE_DISABLED'); } elseif ($gSettingsManager->getInt('forum_module_enabled') === 1 && !in_array($getMode, array('cards', 'list', 'topic')) && !$gValidLogin) { throw new Exception('SYS_NO_RIGHTS'); } ``` This only ensures the user is logged in for write operations. It does not check whether the user has forum admin rights or is the author of the content being deleted. ## PoC **Prerequisites:** Two user accounts - a regular logged-in user (attacker) and a forum admin who has created topics and posts. **Step 1: Attacker discovers a topic UUID** The attacker visits any forum topic page. Topic UUIDs are visible in the URL and page source. **Step 2: Attacker deletes the topic (and all its posts)** ``` curl -X POST "https://TARGET/adm_program/modules/forum.php?mode=topic_delete&topic_uuid=<TOPIC_UUID>" \ -H "Cookie: ADMIDIO_SESSION_ID=<attacker_session>" \ -d "adm_csrf_token=<attacker_csrf_token>" ``` Expected response: `{"status":"success"}` The topic and all its posts are permanently deleted from the database. **Step 3: Attacker deletes an individual post** ``` curl -X POST "https://TARGET/adm_program/modules/forum.php?mode=post_delete&post_uuid=<POST_UUID>" \ -H "Cookie: ADMIDIO_SESSION_ID=<attacker_session>" \ -d "adm_csrf_token=<attacker_csrf_token>" ``` Expected response: `{"status":"success"}` ## Impact - **Data Destruction:** Any logged-in user can permanently delete any forum topic (including all associated posts) or any individual post. The `Topic::delete()` method cascades and removes all posts belonging to the topic. - **Content Integrity:** Forum content created by administrators or other authorized users can be destroyed by any regular member. - **No Undo:** The deletion is permanent. There is no soft-delete or trash mechanism. The only recovery would be from database backups. - **Low Barrier:** The attacker only needs a valid login and the UUID of the target content. UUIDs are visible in forum page URLs and are not secret. ## Recommended Fix ### Fix 1: Add authorization check to topic_delete ```php case 'topic_delete': SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']); $topic = new Topic($gDb); $topic->readDataByUuid($getTopicUUID); // Add authorization check if (!$topic->isEditable()) { throw new Exception('SYS_NO_RIGHTS'); } $topic->delete(); echo json_encode(array('status' => 'success')); break; ``` ### Fix 2: Add authorization check to post_delete ```php case 'post_delete': SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']); $post = new Post($gDb); $post->readDataByUuid($getPostUUID); // Add authorization check - only forum admins or the post author can delete if (!$gCurrentUser->isAdministratorForum() && (int)$post->getValue('fop_usr_id_create') !== $gCurrentUserId) { throw new Exception('SYS_NO_RIGHTS'); } $post->delete(); echo json_encode(array('status' => 'success')); break; ```

CVE-2026-32818 Affected Admidio/admidio Versions

1 component(s)
Fixed Versions:
5.0.7
Product / Package Ecosystem Affected Versions Fixed Version
admidio/admidio
Packagist
≥ 5.0.0
< 5.0.7
5.0.7

References

Frequently Asked Questions

What is CVE-2026-32818?
CVE-2026-32818 is a security vulnerability in Admidio/admidio involving Admidio is Missing Authorization on Forum Topic and Post Deletion under CWE-862: Missing Authorization.
Which Admidio/admidio versions are affected?
Affected versions include releases prior to 5.0.7 across affected packages: admidio/admidio.
What version fixes CVE-2026-32818?
Upgrading to 5.0.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is admidio/admidio affected?
Yes, admidio/admidio is affected in releases prior to 5.0.7. Upgrade your dependency to 5.0.7 or later.
What is the CVSS score of CVE-2026-32818?
CVE-2026-32818 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2026-32818?
CVE-2026-32818 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Packagist dependencies for CVE-2026-32818?
Run the dependency tree command: 'inspect dependencies for admidio/admidio'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g375-5wmp-xr78",
  "modified" : "2026-03-20T21:15:55Z",
  "published" : "2026-03-16T21:18:53Z",
  "aliases" : [ "CVE-2026-32818" ],
  "summary" : "Admidio is Missing Authorization on Forum Topic and Post Deletion",
  "details" : "## Summary\n\nThe forum module in Admidio does not verify whether the current user has permission to delete forum topics or posts. Both the `topic_delete` and `post_delete` actions in `forum.php` only validate the CSRF token but perform no authorization check before calling `delete()`. Any authenticated user with forum access can delete any topic (with all its posts) or any individual post by providing its UUID.\n\nThis is inconsistent with the save/edit operations, which properly check `isAdministratorForum()` and ownership before allowing modifications.\n\n## Details\n\n### Vulnerable Code Path 1: Topic Deletion\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 98-108\n\nThe topic_delete handler validates CSRF but never calls `$topic->isEditable()`:\n\n```php\ncase 'topic_delete':\n    // check the CSRF token of the form against the session token\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $topic = new Topic($gDb);\n    $topic->readDataByUuid($getTopicUUID);\n    $topic->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\nThe `Topic` class has an `isEditable()` method (lines 144-164 of `ListConfiguration.php`) that properly checks `isAdministratorForum()` and `getAllEditableCategories('FOT')`, but it is never called in the delete path.\n\n### Vulnerable Code Path 2: Post Deletion\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 125-134\n\nThe post_delete handler also validates CSRF but performs no authorization check:\n\n```php\ncase 'post_delete':\n    // check the CSRF token of the form against the session token\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $post = new Post($gDb);\n    $post->readDataByUuid($getPostUUID);\n    $post->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\n### Contrast with Save Operations (Properly Authorized)\n\nThe `ForumTopicService::savePost()` method in `D:\\bugcrowd\\admidio\\repo\\src\\Forum\\Service\\ForumTopicService.php` lines 117-121 correctly verifies authorization:\n\n```php\nif ($postUUID !== '') {\n    $post->readDataByUuid($postUUID);\n    if (!$gCurrentUser->isAdministratorForum() && $post->getValue('fop_usr_id_create') !== $gCurrentUser->getValue('usr_id')) {\n        throw new Exception('You are not allowed to edit this post.');\n    }\n}\n```\n\nThe delete operations should have equivalent checks but do not.\n\n### Module-Level Access Check\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 53-59\n\nThe only check before the delete operations is the module-level access check:\n\n```php\nif ($gSettingsManager->getInt('forum_module_enabled') === 0) {\n    throw new Exception('SYS_MODULE_DISABLED');\n} elseif ($gSettingsManager->getInt('forum_module_enabled') === 1\n    && !in_array($getMode, array('cards', 'list', 'topic')) && !$gValidLogin) {\n    throw new Exception('SYS_NO_RIGHTS');\n}\n```\n\nThis only ensures the user is logged in for write operations. It does not check whether the user has forum admin rights or is the author of the content being deleted.\n\n## PoC\n\n**Prerequisites:** Two user accounts - a regular logged-in user (attacker) and a forum admin who has created topics and posts.\n\n**Step 1: Attacker discovers a topic UUID**\n\nThe attacker visits any forum topic page. Topic UUIDs are visible in the URL and page source.\n\n**Step 2: Attacker deletes the topic (and all its posts)**\n\n```\ncurl -X POST \"https://TARGET/adm_program/modules/forum.php?mode=topic_delete&topic_uuid=<TOPIC_UUID>\" \\\n  -H \"Cookie: ADMIDIO_SESSION_ID=<attacker_session>\" \\\n  -d \"adm_csrf_token=<attacker_csrf_token>\"\n```\n\nExpected response: `{\"status\":\"success\"}`\n\nThe topic and all its posts are permanently deleted from the database.\n\n**Step 3: Attacker deletes an individual post**\n\n```\ncurl -X POST \"https://TARGET/adm_program/modules/forum.php?mode=post_delete&post_uuid=<POST_UUID>\" \\\n  -H \"Cookie: ADMIDIO_SESSION_ID=<attacker_session>\" \\\n  -d \"adm_csrf_token=<attacker_csrf_token>\"\n```\n\nExpected response: `{\"status\":\"success\"}`\n\n## Impact\n\n- **Data Destruction:** Any logged-in user can permanently delete any forum topic (including all associated posts) or any individual post. The `Topic::delete()` method cascades and removes all posts belonging to the topic.\n- **Content Integrity:** Forum content created by administrators or other authorized users can be destroyed by any regular member.\n- **No Undo:** The deletion is permanent. There is no soft-delete or trash mechanism. The only recovery would be from database backups.\n- **Low Barrier:** The attacker only needs a valid login and the UUID of the target content. UUIDs are visible in forum page URLs and are not secret.\n\n## Recommended Fix\n\n### Fix 1: Add authorization check to topic_delete\n\n```php\ncase 'topic_delete':\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $topic = new Topic($gDb);\n    $topic->readDataByUuid($getTopicUUID);\n\n    // Add authorization check\n    if (!$topic->isEditable()) {\n        throw new Exception('SYS_NO_RIGHTS');\n    }\n\n    $topic->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\n### Fix 2: Add authorization check to post_delete\n\n```php\ncase 'post_delete':\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $post = new Post($gDb);\n    $post->readDataByUuid($getPostUUID);\n\n    // Add authorization check - only forum admins or the post author can delete\n    if (!$gCurrentUser->isAdministratorForum()\n        && (int)$post->getValue('fop_usr_id_create') !== $gCurrentUserId) {\n        throw new Exception('SYS_NO_RIGHTS');\n    }\n\n    $post->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "admidio/admidio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.0.6"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Admidio/admidio/security/advisories/GHSA-g375-5wmp-xr78"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-32818"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Admidio/admidio"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Admidio/admidio/releases/tag/v5.0.7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-16T21:18:53Z",
    "nvd_published_at" : "2026-03-19T23:16:44Z"
  }
}