In KDE KCoreAddons before 6.25, KShell::quoteArgs is intended to safely quote arguments so that they can be passed to a shell command. This parsing does not adequately handle metacharacters, leading to an escape from the shell. All applications relying on this method in a security-critical path to handle user input are affected and could be exploited. In particular, because sendInput() sends a string to a terminal, a control character such as \x01 can be used during injection.
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-150"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41526.json"
}{
"cpe": "cpe:2.3:a:kde:kcoreaddons:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "6.25"
},
{
"fixed": "6.25.0"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41526.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"101242747992186653511417093557509794467",
"289492607933053574148690065154341894781",
"198140037164833794255906943454151045957",
"75387108103848991872040299280887139000",
"74876094864197514540435824269514909788",
"186445428269008507085100123106181500447",
"11689821127377195628528302445792716321",
"52191208206242672580547876533996239307"
],
"threshold": 0.9
},
"id": "CVE-2026-41526-2a0ed2b1",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/kde/kcoreaddons/commit/447250fb061d6a866eeef9ae3c21b627244b198a",
"target": {
"file": "autotests/kshelltest.cpp"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "269699193607117156218673488905848151047",
"length": 3005
},
"id": "CVE-2026-41526-2bb3b016",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/kde/kcoreaddons/commit/447250fb061d6a866eeef9ae3c21b627244b198a",
"target": {
"file": "autotests/kshelltest.cpp",
"function": "KShellTest::splitJoin"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "210308155905021240217803383337848224490",
"length": 1124
},
"id": "CVE-2026-41526-808d6cfe",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/kde/kcoreaddons/commit/447250fb061d6a866eeef9ae3c21b627244b198a",
"target": {
"file": "autotests/kshelltest.cpp",
"function": "KShellTest::quoteArg"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"225639946299247260451457028093073383910",
"58389281763611245987394164797044294048",
"333172051205955134080879410972295025039",
"214713120480125572592113733239610938803",
"243844166672824801946868297242642501986",
"73369659960717528809488638970620368949",
"309925860393492931049031522512095779755",
"16222956159584201209915227067866342453",
"115167371515695717789286540627059728240",
"115228852714762316445054894050089439209",
"115050677378497909640628784778660171937"
],
"threshold": 0.9
},
"id": "CVE-2026-41526-dd5db4a1",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/kde/kcoreaddons/commit/447250fb061d6a866eeef9ae3c21b627244b198a",
"target": {
"file": "src/lib/util/kshell_unix.cpp"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "55846286754143926611966765158088947234",
"length": 351
},
"id": "CVE-2026-41526-f79652d6",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/kde/kcoreaddons/commit/447250fb061d6a866eeef9ae3c21b627244b198a",
"target": {
"file": "src/lib/util/kshell_unix.cpp",
"function": "KShell::quoteArg"
}
}
]
"2026-08-12T08:43:41Z"