CVE-2026-24130: Moonraker Moonraker Affected By LDAP Search Vulnerability

LOW
Advisory Identifier: GHSA-3jqf-v4mv-747g
CWE-90
Published
Advisory Summary

CVE-2026-24130 is a LOW moonraker affected by ldap search vulnerability (CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')) affecting Moonraker libraries in the PyPI ecosystem. The issue involves moonraker affected by ldap search filter injection. Remediation is available by upgrading affected packages to version 0.10.0.

CVE-2026-24130 at a Glance

CVE Identifier CVE-2026-24130
GHSA Identifier GHSA-3jqf-v4mv-747g
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')
Affected Product Moonraker
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2026-24130

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

moonraker fixed: 0.10.0
pip install moonraker>=0.10.0
Verify Direct and Transitive Dependencies

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

pip show moonraker

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-24130, inspect your installed packages using pip:

pip show moonraker

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

Note: The pip show moonraker command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection'), where the product constructs all or part of an ldap query using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended ldap query when it is sent to a downstream component. In Moonraker, 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

### Impact Instances of Moonraker configured with the `ldap` component enabled are vulnerable to LDAP search filter injection techniques via the login endpoint. The 401 error response message can be used to determine whether or not a search was successful, allowing for brute force methods to discover LDAP entries on the server such as user IDs and user attributes. ### Patches Users should upgrade to Moonraker 0.10.0 which patches this vulnerability. ### Workarounds Admins can set the `max_login_attempts` option in the `[authorization]` section to a reasonable value. Any IP attempting to exploit this vulnerability will be locked out after it has reached the specified number of consecutive failed login attempts. This condition is cleared after a Moonraker restart. Note that if an attacker knows a valid user password they can bypass this protection by successfully logging in. The most secure workaround for users unable to upgrade is to remove the `ldap` section from `moonraker.conf` and rely on the built in user authentication.

CVE-2026-24130 Affected Moonraker Versions

1 component(s)
Fixed Versions:
0.10.0
Product / Package Ecosystem Affected Versions Fixed Version
moonraker
PyPI
< 0.10.0
0.10.0

References

Frequently Asked Questions

What is CVE-2026-24130?
CVE-2026-24130 is a security vulnerability in Moonraker involving Moonraker affected by LDAP search filter injection under CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection').
Which Moonraker versions are affected?
Affected versions include releases prior to 0.10.0 across affected packages: moonraker.
What version fixes CVE-2026-24130?
Upgrading to 0.10.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is moonraker affected?
Yes, moonraker is affected in releases prior to 0.10.0. Upgrade your dependency to 0.10.0 or later.
What CWE is associated with CVE-2026-24130?
CVE-2026-24130 is classified under CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') (The product constructs all or part of an LDAP query using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended LDAP query when it is sent to a downstream component.).
How can I check PyPI dependencies for CVE-2026-24130?
Run the dependency tree command: 'pip show moonraker'. 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-3jqf-v4mv-747g",
  "modified" : "2026-01-23T15:49:23Z",
  "published" : "2026-01-22T18:06:54Z",
  "aliases" : [ "CVE-2026-24130" ],
  "summary" : "Moonraker affected by LDAP search filter injection",
  "details" : "### Impact\n\nInstances of Moonraker configured with the `ldap` component enabled are vulnerable to LDAP search filter injection techniques via the login endpoint.   The 401 error response message can be used to determine whether or not a search was successful, allowing for brute force methods to discover LDAP entries on the server such as user IDs and user attributes.\n\n### Patches\n\nUsers should upgrade to Moonraker 0.10.0 which patches this vulnerability.\n\n### Workarounds\n\nAdmins can set the `max_login_attempts` option in the `[authorization]` section to a reasonable value.    Any IP attempting to exploit this vulnerability will be locked out after it has reached the specified number of consecutive failed login attempts.  This condition is cleared after a Moonraker restart.   Note that if an attacker knows a valid user password they can bypass this protection by successfully logging in.\n\nThe most secure workaround for users unable to upgrade is to remove the `ldap` section from `moonraker.conf` and rely on the built in user authentication.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "moonraker"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.10.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Arksine/moonraker/security/advisories/GHSA-3jqf-v4mv-747g"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-24130"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Arksine/moonraker/commit/74c5d8e44c4a4abbfbb06fb991e7ebb9ac947f42"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Arksine/moonraker"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-90" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-22T18:06:54Z",
    "nvd_published_at" : "2026-01-22T23:15:58Z"
  }
}