{"id":"CVE-2026-57193","state":"PUBLISHED","title":"Asterisk: LDAP Filter Injection in res_config_ldap via SIP Username (Unauthenticated Information Disclosure)","description":"Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, the LDAP realtime driver `res_config_ldap` may permit `LDAP filter injection` through a `SIP username`, allowing an unauthenticated attacker to make arbitrary LDAP queries using carefully crafted SIP packets and disclose information. The `res_config_ldap` module must be loaded and configured to access an LDAP server, which is not the default. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.","publishedAt":"2026-10-26T19:46:01.924Z","updatedAt":"2026-10-26T19:46:01.924Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["asterisk asterisk","asterisk certified-asterisk"],"affected":[{"vendor":"asterisk","product":"asterisk","versions":[{"version":"< 20.20.1","status":"affected"},{"version":">= 21.0.0-pre1, < 21.12.3","status":"affected"},{"version":">= 22.0.0-pre1, < 22.10.1","status":"affected"},{"version":">= 23.0.0-pre1, < 23.4.1","status":"affected"}]},{"vendor":"asterisk","product":"certified-asterisk","versions":[{"version":"< 20.7-cert11","status":"affected"},{"version":">= 22.8-cert1-pre1, < 22.8-cert3","status":"affected"}]}],"references":["https://github.com/asterisk/asterisk/security/advisories/GHSA-r6c2-hwc2-j4mp","https://github.com/asterisk/asterisk/commit/04aa482212e43b292817444eb4de35499f4b1568","https://github.com/asterisk/asterisk/commit/14968f2f440ea0dd983caa4f477237a5224904dd","https://github.com/asterisk/asterisk/commit/23c01b6d359c5d85da725beea89e394a6c031c5d","https://github.com/asterisk/asterisk/commit/7e1ae09594a101950398cc6aff2dd2e5ab314884","https://github.com/asterisk/asterisk/commit/8170a6bfa75994e7617a8b9d7fe7a7140b70cbe2","https://github.com/asterisk/asterisk/commit/dd0c768d9e9678e4cb1ed95689a254a61452239b","https://github.com/asterisk/asterisk/commit/ef280572a034cac3994075298facb1999778ee0d","https://github.com/asterisk/asterisk/releases/tag/20.20.1","https://github.com/asterisk/asterisk/releases/tag/21.12.3","https://github.com/asterisk/asterisk/releases/tag/22.10.1","https://github.com/asterisk/asterisk/releases/tag/23.4.1","https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11","https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3","https://github.com/asterisk/asterisk/tree/24.0.0-pre1"],"weaknesses":["CWE-943"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57193.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57193","state":"PUBLISHED","datePublished":"2026-10-26T19:46:01.924Z","dateUpdated":"2026-10-26T19:46:01.924Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-24T02:00:46.800Z"},"containers":{"cna":{"title":"Asterisk: LDAP Filter Injection in res_config_ldap via SIP Username (Unauthenticated Information Disclosure)","descriptions":[{"lang":"en","value":"Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, the LDAP realtime driver `res_config_ldap` may permit `LDAP filter injection` through a `SIP username`, allowing an unauthenticated attacker to make arbitrary LDAP queries using carefully crafted SIP packets and disclose information. The `res_config_ldap` module must be loaded and configured to access an LDAP server, which is not the default. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3."}],"affected":[{"vendor":"asterisk","product":"asterisk","versions":[{"version":"< 20.20.1","status":"affected"},{"version":">= 21.0.0-pre1, < 21.12.3","status":"affected"},{"version":">= 22.0.0-pre1, < 22.10.1","status":"affected"},{"version":">= 23.0.0-pre1, < 23.4.1","status":"affected"}]},{"vendor":"asterisk","product":"certified-asterisk","versions":[{"version":"< 20.7-cert11","status":"affected"},{"version":">= 22.8-cert1-pre1, < 22.8-cert3","status":"affected"}]}],"references":[{"url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-r6c2-hwc2-j4mp","name":"https://github.com/asterisk/asterisk/security/advisories/GHSA-r6c2-hwc2-j4mp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/asterisk/asterisk/commit/04aa482212e43b292817444eb4de35499f4b1568","name":"https://github.com/asterisk/asterisk/commit/04aa482212e43b292817444eb4de35499f4b1568","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/14968f2f440ea0dd983caa4f477237a5224904dd","name":"https://github.com/asterisk/asterisk/commit/14968f2f440ea0dd983caa4f477237a5224904dd","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/23c01b6d359c5d85da725beea89e394a6c031c5d","name":"https://github.com/asterisk/asterisk/commit/23c01b6d359c5d85da725beea89e394a6c031c5d","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/7e1ae09594a101950398cc6aff2dd2e5ab314884","name":"https://github.com/asterisk/asterisk/commit/7e1ae09594a101950398cc6aff2dd2e5ab314884","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/8170a6bfa75994e7617a8b9d7fe7a7140b70cbe2","name":"https://github.com/asterisk/asterisk/commit/8170a6bfa75994e7617a8b9d7fe7a7140b70cbe2","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/dd0c768d9e9678e4cb1ed95689a254a61452239b","name":"https://github.com/asterisk/asterisk/commit/dd0c768d9e9678e4cb1ed95689a254a61452239b","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/ef280572a034cac3994075298facb1999778ee0d","name":"https://github.com/asterisk/asterisk/commit/ef280572a034cac3994075298facb1999778ee0d","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/20.20.1","name":"https://github.com/asterisk/asterisk/releases/tag/20.20.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/21.12.3","name":"https://github.com/asterisk/asterisk/releases/tag/21.12.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/22.10.1","name":"https://github.com/asterisk/asterisk/releases/tag/22.10.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/23.4.1","name":"https://github.com/asterisk/asterisk/releases/tag/23.4.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11","name":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3","name":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1","name":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-943","lang":"en","description":"CWE-943: Improper Neutralization of Special Elements in Data Query Logic","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-26T19:46:01.924Z"},"source":{"advisory":"GHSA-r6c2-hwc2-j4mp","discovery":"UNKNOWN"}}}}}