Vulnerabilities in pkg:pypi/moonraker
PACKAGECVE-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.
pkg:pypi/moonraker
Vulnerability advisories affecting package pkg:pypi/moonraker. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-3jqf-v4mv-747g | CVE-2026-24130 | LOW | Moonraker affected by LDAP search filter injection |
CVE-2026-24130 at a Glance
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.
pip install moonraker>=0.10.0
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
CVE-2026-24130 Affected Moonraker Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
moonraker
|
PyPI |
< 0.10.0
|
0.10.0
|
References
Frequently Asked Questions
What is CVE-2026-24130?
Which Moonraker versions are affected?
What version fixes CVE-2026-24130?
Is moonraker affected?
What CWE is associated with CVE-2026-24130?
How can I check PyPI dependencies for CVE-2026-24130?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}