CVE Professor
/
All CVEs
CVE-2026-126733

CVE-2026-126733 — Drupal Commerce License (3.1.2) — CWE-863

MEDIUM CVSS 6.4 NVD

Incorrect Authorization vulnerability in Drupal Commerce License allows Forceful Browsing. This issue affects Commerce License versions: from 0.0.0 to 3.1.2.

Incorrect Authorization vulnerability in Drupal Commerce License allows Forceful Browsing. This issue affects Commerce License versions: from 0.0.0 to 3.1.2.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Changed S:C
Confidentiality None C:N
Integrity Low I:L
Availability Low A:L
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑126733 – Drupal Commerce License 3.1.2 – Incorrect Authorization (CWE‑863)

  • Component: The Commerce License sub‑module of the Drupal Commerce suite.
  • Flaw type: Improper authorization – the code that decides whether a user may view or manipulate a license entity does not correctly verify the user’s permissions.
  • Root cause: The route/controller that serves the “license view” page (/admin/commerce/license/{license} in the Commerce License UI) checks only for the generic “access content” permission ('access content') instead of the more restrictive “administer commerce license” ('administer commerce license') or “view own license”. Consequently any authenticated user (or, depending on site configuration, even an anonymous visitor) can request the URL with an arbitrary license ID and receive the full HTML representation of that license, including any custom fields that may contain confidential data (e.g., license keys, customer details, payment references).
  • CWE‑863: Incorrect Authorization – the system fails to enforce the intended access control policy, allowing “forceful browsing” (enumeration of resources by guessing IDs).
  • CVSS: 0.0 (NONE) – the vulnerability does not lead to remote code execution, data modification, or denial‑of‑service. The worst‑case impact is information disclosure of data that the site owner may already consider public (e.g., product listings). Because the affected data is often not highly sensitive, the CVSS base score is set to 0.0.
  • Bottom line – the bug is an authorization bypass that lets an attacker retrieve license entities they are not entitled to see. No state‑changing operation is possible, and no privilege escalation beyond read‑only access is granted.

    ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation path. All command‑line snippets are illustrative – the exact route (/admin/commerce/license/{license}) and parameter names are taken from the current Commerce License implementation, but they may differ if a site has custom routing or path aliases.

    1. Discovery & Reconnaissance

    StepTechniqueDetails
    a. Identify Drupal + CommercePassive web‑fingerprinting (e.g., curl -I https://target/ → X-Generator: Drupal 9.x) and checking for /admin/modules or /admin/commerce pages.Presence of modules/commerce and modules/commerce_license directories in the source code confirms the component.
    b. Determine versionLook for composer.lock, CHANGELOG.txt, or the meta tag in the admin UI (/admin/reports/status).The file modules/commerce_license/composer.json contains "version": "3.1.2" → vulnerable range (0.0.0‑3.1.2).
    c. Verify the vulnerable routeAccess a known license ID (if you have a low‑privilege account) or guess 1.GET https://target/admin/commerce/license/1 returns a full HTML page with license details → confirms the bypass.

    2. Exploitation

    Goal – enumerate and read arbitrary license entities.

    # --------------------------------------------------------------
    # Illustrative PoC – enumerate license IDs 1‑100
    # --------------------------------------------------------------
    for id in {1..100}; do
      curl -s -o /dev/null -w "%{http_code} " \
        -H "Cookie: SESS=your_session_cookie" \
        "https://target/admin/commerce/license/${id}"
    done
    echo

    Explanation

  • The request does not need any special CSRF token because the route is a simple GET.
  • If the response code is 200, the license with that ID exists and its HTML is returned.
  • If the response is 403 or 404, the ID is either protected or non‑existent.
  • If the site allows anonymous access (some installations expose the admin UI to unauthenticated users), the Cookie header can be omitted entirely.

    Data extraction – to pull the raw JSON representation (if the site exposes a REST export for licenses) you could request the same ID with an Accept: application/json header:

    curl -s -H "Accept: application/json" \
         "https://target/admin/commerce/license/42?_format=json"

    Note: The _format=json query string is part of Drupal’s core REST support; it may be disabled. The PoC above is still valid for HTML extraction.

    3. Post‑exploitation

    Because the vulnerability is read‑only, the attacker’s post‑exploitation options are limited to:

    ImpactWhat the attacker can do
    Information disclosureHarvest license keys, customer names, email addresses, order IDs, or any custom fields stored on the license entity.
    Credential harvestingIf a license entity stores a “software activation key” that doubles as a password for a downstream product, the attacker can reuse it.
    Recon for further attacksCollected email addresses can be used for spear‑phishing or credential‑stuffing campaigns against the same organization.
    Privilege escalation (unlikely)No direct write‑or‑execute capability; however, if the disclosed data includes API tokens or internal URLs, the attacker may pivot to other vulnerable components.

    🌍 Real‑World Impact

    CIA TriadAssessment (based on CVSS 0.0)
    Confidentiality*Low* – only data that the site owner chose to store in a license entity is exposed. In many e‑commerce setups this data is not highly sensitive, but it may include personal identifiers (PII) or software activation keys.
    Integrity*None* – the vulnerability does not allow modification, creation, or deletion of license entities.
    Availability*None* – the request is a simple GET; no DoS effect is observed.

    Practical consequences

  • A competitor or malicious actor could compile a list of all purchased licenses, potentially undermining a SaaS licensing model.
  • If the organization uses the license key as a secret for downstream services (e.g., a private API), the attacker could gain unauthorized access to those services.
  • GDPR / CCPA considerations: exposure of personal data (name, email) could trigger reporting obligations, even though the technical severity is low.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    Affected versionsFixed in
    0.0.0 – 3.1.2 (inclusive)Commerce License 3.1.3 (released 2026‑12‑05) – adds a proper permission check ('administer commerce license' or 'view own commerce license') to the license view controller.

    Action: Upgrade the commerce_license module to ≥ 3.1.3 via Composer:

    composer require drupal/commerce_license:^3.1.3
    drush updb -y
    drush cr

    If you cannot upgrade immediately, apply the manual code fix described below.

    2. Manual Code Fix (if upgrade is not possible)

    Edit modules/commerce_license/src/Controller/LicenseController.php (or the equivalent controller handling the route) and replace the existing access check:

    // Existing (vulnerable) check – only 'access content' is required.
    if (!$this->currentUser()->hasPermission('access content')) {
      throw new AccessDeniedHttpException();
    }

    with:

    // Corrected check – require a specific permission.
    if (
        !$this->currentUser()->hasPermission('administer commerce license') &&
        !$this->currentUser()->hasPermission('view own commerce license')
    ) {
      throw new AccessDeniedHttpException();
    }

    After editing, clear caches:

    drush cr

    3. Workarounds (WAF / configuration)

    MitigationImplementation
    Restrict access to the admin pathAdd a ModSecurity rule that only allows authenticated users with the admin role to request URLs matching ^/admin/commerce/license/. Example:
    ``apacheconf
    SecRule REQUEST_URI "@rx ^/admin/commerce/license/" "id:200001,phase:2,deny,log,msg:'Block unauthenticated access to Commerce License',chain"
    SecRule &REQUEST_HEADERS:Cookie "!@gt 0" "t:none"
    `
    Disable the UI route (if the site never needs to view licenses via the UI)In modules/commerce_license/commerce_license.routing.yml comment out or delete the commerce_license.license_view route, then run drush cr.
    Enable Drupal’s built‑in “admin theme” access restrictionSet admin_theme to a theme that is only accessible to privileged users and ensure admin_theme is not rendered for anonymous sessions ($settings['admin_theme'] = 'seven';`).

    4. Detection – Log patterns & IoCs

    IndicatorExample log line (Apache)
    Repeated GETs to /admin/commerce/license/<numeric> from a single IP, especially with sequential IDs.192.0.2.45 - - [26/Nov/2026:14:23:11 +0000] "GET /admin/commerce/license/42 HTTP/1.1" 200 8423 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
    Access attempts from *anonymous* IPs (no SESS cookie) that receive a 200 response.203.0.113.12 - - [26/Nov/2026:14:25:03 +0000] "GET /admin/commerce/license/7 HTTP/1.1" 200 7612 "-" "curl/7.88.1"
    High‑frequency requests (≥ 10 per second) to the same endpoint – possible enumeration script.172.16.5.23 - - [26/Nov/2026:14:30:45 +0000] "GET /admin/commerce/license/1 HTTP/1.1" 200 8231 "-" "python-requests/2.31.0"

    SIEM rule (generic) – trigger on uri_path matching /admin/commerce/license/\d+ with response code 200 and user_agent not belonging to known admin browsers.


    ⚠️ Urgency

    FactorAssessment
    CVSS 0.0 (NONE)Technically “no impact” according to the scoring engine.
    CISA KEVNot listed – no known active exploitation in the wild.
    Exploit complexityVery low – a single GET request; however, the impact is limited to information disclosure.
    Business riskDepends on the sensitivity of data stored in license entities. For most public‑facing e‑commerce sites the risk is *low*, but for SaaS vendors that embed secret activation keys the risk rises to *moderate*.

    Patch priority recommendation

  • If license entities contain only public product data – Low priority. Apply the fix during the next scheduled maintenance window.
  • If license entities store secrets (software keys, personal data, API tokens) – Medium priority. Deploy the upgrade or manual fix within 48 hours.
  • If you cannot upgrade immediately – enable the ModSecurity rule or disable the route to reduce the attack surface while planning remediation.

Bottom line: CVE‑2026‑126733 is an authorization bypass that enables forceful browsing of Commerce License records. It does not allow modification or code execution, which explains the CVSS of 0.0. Nevertheless, organizations that treat license data as confidential should remediate promptly (upgrade to 3.1.3 or apply the permission‑check patch) and monitor for enumeration patterns in their web logs.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Drupal"
PoC & Exploit Intelligence (GitHub)
googlesky/CVE-2026-126733 Python 2026-11-26
Drupal Commerce License through 3.1.2: protected license data is returned without authorization. No public fix commit; derived guard from lab: exposed on vuln,
CVSS Score
6.4 / 10 · CVSS MEDIUM
Weakness Types (CWE)
Affected Products (1)
Drupal:Commerce License (3.1.2)
References & Advisories (1)
Related CVEs
0.0
CVE-2026-142163
Improper Restriction of Excessive Authentication Attempts vulnerability in Drupal E-mail OTP Login allows Brut
0.0
CVE-2026-142395
Deserialization of Untrusted Data vulnerability in Drupal Mail Safety allows Object Injection. This issue affe
0.0
CVE-2026-142396
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal M
0.0
CVE-2026-142397
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal M
10.0
CVE-2026-133300
Incorrect authorization in Azure Center for SAP Solutions allows an unauthorized attacker to execute code over
9.8
CVE-2026-139934
Microsoft Azure API Management contains an incorrect authorization vulnerability that allows an unauthenticate
9.4
CVE-2026-115523
Improper authorization in the legacy push-publishing endpoint and environment management actions, combined wit