CVE-2026-104474

Source
https://cve.org/CVERecord?id=CVE-2026-104474
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104474.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-104474
Published
2026-10-02T23:28:45Z
Modified
2026-11-08T13:15:04Z
Severity
  • 5.4 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenLiteSpeed before 1.9.3 Local Privilege Escalation via lsup.sh Auto-Update
Details

OpenLiteSpeed before 1.9.3 contains a local privilege escalation vulnerability in admin/misc/lsup.sh that runs unverified update packages from a nobody-writable directory as root. Attackers controlling the nobody web process can replace the package in /usr/local/lsws/autoupdate/ before extraction, so its install.sh runs as root on the next update.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-367"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104474.json"
}
References

Affected packages

Git / github.com/litespeedtech/openlitespeed

Affected ranges

Type
GIT
Repo
https://github.com/litespeedtech/openlitespeed
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "1.9.3"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "468523ce84388cea9ba6633c26517bc05b3e2bc1"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

Other
broken_modsec
v1.*
v1.0.4
v1.3
v1.3.2
v1.4.0
v1.4.1
v1.4.2
v1.5.0
v1.5.0rc6
v1.5.2
v1.6.3
v1.7.0
v1.7.1
v1.7.10
v1.7.10.1
v1.7.10.2
v1.7.17
v1.7.2
v1.7.3
v1.7.4
v1.7.5
v1.7.6
v1.7.7
v1.7.8
v1.7.9
v1.7.9.1
v1.7.9.2
v1.8.0
v1.8.1
v1.9.0
v1.9.0.1
v1.9.1
v1.9.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104474.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "130666632500308519443181072479010375579",
                "94094717763948315405912894915358682355",
                "146150098213732896821391914187384389808",
                "121470498316211933500873876322905185197"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-104474-20dbed11",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/rootcheck.h"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "171184950585508448187757754487114226157",
            "length": 543
        },
        "id": "CVE-2026-104474-40ca3aa7",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/use_bwrap.c",
            "function": "bwrap_allocate_extra"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "133422919693191647432960400880470328871",
                "200620113410103511240084829441752450489",
                "211064912499230793654493514463963304768",
                "23904606777870147730261481786926683198",
                "137057680535554684777990331222192479065",
                "314941505951869861642067428298275556798",
                "302406869452246838893095291686348494650",
                "265817600391906188415732772282562629555",
                "89167029508453456802279059852657649625",
                "276187569624724348734866325808590906387",
                "100545709390309227879136984894988363602",
                "244231666096426992416229203714054061077",
                "240593669111399097826832165381089730350",
                "270197198514649476825970924605907738533",
                "143414937010703396183342186866880476440",
                "199686172463292823946842747436285602735",
                "94205212313979980874223389773752514494",
                "72636163141014353547374136961332510090",
                "302090353833570677955471621309372259634",
                "160803310419995396511305684812566087694"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-104474-6117e1ce",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/rootcheck.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "99684336167615431421804850915834954367",
                "181438878770929374434693623317250851044",
                "208302349884965740399126955389618458928",
                "113257539177717691571682413757686692585",
                "215780323637795741686402366318627193567",
                "114873582650593495880449541244195113338",
                "93382474155663061744401109520328362989",
                "230368234310701708172550079541404016465",
                "174861598296879089586097982177532206793",
                "290149020428397502115357494785330847810",
                "135969167799555697017017328507903786922",
                "232505649387955592083321234277280950775",
                "334955936477763874929211275991212924373",
                "20115989309357381042372993395354995174",
                "253232076869435727115399230049128919777",
                "94374468626345133921444493909708360894",
                "247729597838720401255784060506876813117",
                "262853855431983873540812234891125216103",
                "308769896993433595246185418935487378965",
                "159507316596160937281341202399861564091",
                "141467823628149012905552057480040750052",
                "177043612554810636410310029432955847716",
                "283474308008610683850351745006030595885",
                "13537090751023275181303439387924992304",
                "196386014688678862541314780989671943764",
                "38890099021361957718366726621762503363",
                "92732319054717550428534825736479581628",
                "268309376455421184948316478796228355633",
                "81599223755245931633142760442619495023",
                "72458504056992045811490804281175690544",
                "53329893115688564107749055719130805172",
                "326195240423633919562243672511564751085",
                "277800676398612518712222570538493040030",
                "320321643706118081859487631617653318546",
                "311391092861624179735855586271368398614",
                "195666998093269479192652384303628831198",
                "284967627323517075429629325928072476784",
                "140671035931864290910389361777759745515",
                "31220413868464615345509965153424838285",
                "255016441629428528222040276159683650021",
                "5227993251774197438137594804570493842",
                "96084581313230108770697585732728927166",
                "52285929941215408206430708062103292243",
                "173068617942021916092548950575437750824",
                "9601322344875413488147377960650695687",
                "90310151471500450003602373338898523014",
                "46852883813024986610773956952947444670",
                "275262627083361317072415407381095277017",
                "63809179961935867027865907337899689790",
                "224628610267704939392042486774108321453",
                "16535901025681692788261005831294158546",
                "332439290296531704487572937057055692985",
                "88685227322362297908352729109842095010",
                "71633196037637778979659958811326165317",
                "228001804481028810404379070799559273473",
                "38464214508794942154831063900771538173",
                "169636128696568021641892918652165582424",
                "57757956308646937272956290894156195107",
                "232150400369216082037002556996635886662",
                "122603199959322167183136453999797179495",
                "131132118217627727448730996143906227903",
                "113038448690104208000967023272831832471",
                "105042334948064915654641026452952102947",
                "139287877579338185092526795598455624711",
                "88685227322362297908352729109842095010",
                "71633196037637778979659958811326165317",
                "197219096418310674688034525329798614298",
                "252798592077453296819822594972704337592",
                "63345595481014545914277921070323603203",
                "23730030331209636487981296571647791307",
                "12588504202188107705853731225616426545",
                "47903920301629585832207478602512105250",
                "103009288350773362564590229666012456305",
                "125296285027217234953490093239700993262",
                "28017400101285105714134931831715591082",
                "185485109311800245743560744587647450093",
                "273719378953202706627486862417648112027",
                "85829502870750973827704586169674078111",
                "238613452856306218596012662486092581487",
                "101490785170001276240055921747698190745",
                "141238367592103525471670114258390102593",
                "280024838301421925584704594858393528025",
                "87824455068269826711585147152091341957",
                "329725396494979091534219552749546952215",
                "135681075364532110023273351882328143623",
                "297295444819886776360825326696600298970",
                "308145937270700859923029833939757946114",
                "189839714686103075703006696450962614796",
                "265191279066199184677699100320810623334",
                "165318039760839645908264702225172668735",
                "29851339986963636565850162117924547200",
                "129660010269811571385771309383902880978",
                "304236077577441215602712048394865155074",
                "73721936679635710314377235025608634877",
                "3192875727207862677220742887156926711",
                "197950702430740723184979379354065442683",
                "85829502870750973827704586169674078111",
                "301893407848765636563410687020579824477",
                "60321082318937309425808665466054146815",
                "49939243672472167032663550296103002554",
                "312090208337646851447962946001560320254",
                "47615906861728930996698849586285273321",
                "86758621581349998410148037604453626218",
                "197259148912825080099157751142549198726",
                "119413216425824956397316135148037872539",
                "268988585993751385613922259135558838792",
                "97414073154063149106967148974021304684",
                "334992129352185979118250052083616109313",
                "108715901824384997689512310768111785758",
                "169051637604296802914562013186808519015",
                "282442008475242295585579563092211685839",
                "226414716920395537687696592874832094954",
                "36677711042302006794286467093968975705",
                "148699249283807066687739261192962136101",
                "109811789766558772012298970611875909528",
                "203953780939171211363658000479183213055",
                "285036646094231427613862059991031837377",
                "114398902561147729953046931157437589139",
                "286748997068889935785974269172040440999",
                "288151928261531387336088535528376801760",
                "205198558029521298284125969327253324921",
                "12588916329978918955063651569340000524",
                "120907280369271518482688075000125160181",
                "37534131218169850665869701061744538767",
                "159284565519685677473991255166257987484",
                "258181798100849920905355327682851607693",
                "85053100911813495271114935083248976428",
                "8796092319370422125219732199192040049",
                "109571263915925186865685445609672645750",
                "175750044993996455577838927619456823110",
                "263696175097489217901855314769262463130",
                "108964687926366049469472861806341004438",
                "4921875456550317991983673915246328371",
                "335700579285068522087309530296237299209",
                "12971899591627760103020626916240413108",
                "197480838625197321383657650015060205801",
                "272433903415656535242052785929504538050",
                "269475830108222443852673492961041661629",
                "186119968020242548293954920843479703736",
                "256937251367418381422550607880491965649",
                "266948921312732553195756592998544483072",
                "53816280585253984816044371737161323746"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-104474-6bef81a6",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/use_bwrap.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "4402780947786510923935317522051768329",
            "length": 864
        },
        "id": "CVE-2026-104474-7855f5a1",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/use_bwrap.c",
            "function": "bwrap_free"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "148474365708859362641048998021603287631",
            "length": 3108
        },
        "id": "CVE-2026-104474-7de46025",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/use_bwrap.c",
            "function": "build_bwrap_exec"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "69851539620012776240059814739283346206",
            "length": 68
        },
        "id": "CVE-2026-104474-8f9f052c",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/rootcheck.c",
            "function": "check_root_executable"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "312074673405277428344464937028285655052",
            "length": 2258
        },
        "id": "CVE-2026-104474-9159b65c",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/ns.c",
            "function": "setup_copy"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "23550577023275109996317403706414387356",
                "130363692871811330450552195302608845405",
                "257376172772480341245848003862537312807",
                "188151092648507507469943609149575051100",
                "289783276263665220449696249924707789623",
                "252822126390732985329495977651837473487",
                "175946880095407451744615064645484226304",
                "217942378547160801199317046246248736733",
                "178925095159006814305110388245417329158",
                "83557403713080966633192814082835050257",
                "248491087569214836746739042389045718040",
                "28594378694771411368411565375871180085",
                "45141773332957883109971867935439708087",
                "14562934642167443779448056702090594837",
                "226327358575321484408496102280989986464",
                "257903468438859711590068918312701935309",
                "196028759262420209806225051428552515905",
                "199538471633381828067828739178181042608",
                "292225214943271120493066735852436948813",
                "318426906062364045098470664613711489996",
                "15708067584447798448752076131544644333",
                "35691682760320452042915408815347820916",
                "302061665708386683043030814598585106026",
                "117005522089292818042585644351266556136",
                "247855422972741027009618610013573727969",
                "252997172658572465552034802971070185227",
                "158803072822808390019374043040395480299",
                "288604595403492076837622369848553175038",
                "262444894120944937176427187287153915706",
                "272378309352595897548370421815833019367",
                "106488040027629216782032801693599722593",
                "224126134135109184098508962139503530272",
                "223461479340062806236135368162470432984",
                "133083680586763779109687919295422972140",
                "120893657366171094552901443819590794932",
                "120902608512904868766644805701987248536",
                "190784995088524810442913487626779243056",
                "85473665298088192747173207402238754506",
                "215747990294557092006198731550863850162",
                "203425763914975930286782989022474779547",
                "265257028470821542964339829916720293475",
                "172223603058617109790992100867685859966",
                "69498609799730098483209403212487746334",
                "119331785318219362198537320733108618320",
                "213964920286753372257373536307313705497",
                "36243683262997964188257336754381624355",
                "275803168852422011615166791197788733295",
                "222806365683372580102260736851455665727",
                "100633795614392149887528021385688494754",
                "261344220235156547673294604408333931276",
                "331390078392610558591853424746391081748",
                "32773662203459250865106588829979634367",
                "149065452977516357809338734990997009527",
                "220506771300797816719520487415878070116",
                "337990527896231970367015279843778330543",
                "112544767974794067281725914547830955445",
                "283380696170170107320923577687900613967",
                "58837473096059276295592847025721186249",
                "130734732699960271479322847539101283171",
                "92102928163507638550886527457994157323",
                "321128294657614564777647634508258738590",
                "141180903404529443464735821197718155970",
                "339413010129784056284994192367846862238",
                "152646112108837276491483670944067962089",
                "53961671111096096360036877234149928546",
                "269661118299633678620164925879785528871",
                "254193350223524720408490991001838240933",
                "154891054887112823405028171656683436073",
                "14021745866060763817817027603135920749",
                "231543278779732476401684616143142300585",
                "127807276821049735532285391648700857684",
                "200517840922943055153582801083005381621",
                "266404591636012172199002479326588746868",
                "313480647226564436542900298569143374219",
                "128883944895185818614342772480867672414",
                "107892857185310039864415279538020394759",
                "286225993380456546889884618779310837646",
                "115744804089895403061854395406987609006",
                "92625265029695770380347641077765472922",
                "235544640332196263035352525831686214670",
                "121204005262002289378093453663682776560",
                "70514250060118398896081963667292240756",
                "23484826837455068669426569667746990917",
                "213626707387714068353110215666652922490"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-104474-9c32d629",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/ns.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "94081143798242822546700446577369964311",
            "length": 2370
        },
        "id": "CVE-2026-104474-ae452c49",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/rootcheck.c",
            "function": "check_root_path"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "74796409489384665572310897727436776376",
            "length": 1083
        },
        "id": "CVE-2026-104474-c4c6ecbb",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/use_bwrap.c",
            "function": "add_argv"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "40401120218772985281643151492527240914",
            "length": 3855
        },
        "id": "CVE-2026-104474-db5cdfaa",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/use_bwrap.c",
            "function": "bwrap_variable"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "94389286170119725106550773697402244132",
                "47655882792026957155015842693413404377",
                "112579746093768119085683099653784268894",
                "3126755244776786205650885966064974112"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-104474-e1d696f6",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/use_bwrap.h"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "34053559848316773108700739497359108395",
            "length": 68
        },
        "id": "CVE-2026-104474-eba5a65a",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/litespeedtech/openlitespeed/commit/edbe7f7db12577e905291955a6d416200942fb8b",
        "target": {
            "file": "src/extensions/cgi/rootcheck.c",
            "function": "check_root_protected_file"
        }
    }
]
vanir_signatures_modified
"2026-11-08T13:15:04Z"