{"id":"CVE-2026-61542","summary":"Gearboy advisory / Gearsystem body: Unauthenticated network exposure of MCP HTTP tools","details":"Gearboy is a Game Boy, Game Boy Color, and Super Game Boy emulator and debugger with an embedded MCP server. Gearsystem, the affected component, has an optional `--mcp-http` mode that accepts unauthenticated MCP requests from any reachable network peer despite localhost-only documentation and logging. In the described `platforms/shared/desktop/mcp/mcp_transport.h` transport, the socket binds `INADDR_ANY`, normally on port 7777, and POST requests to `/mcp` reach dispatch without `Authorization`, `Host`, or `Origin` checks. Responses and OPTIONS advertise `Access-Control-Allow-Origin: *`. A peer can initialize an MCP session and invoke exposed emulator/debugging operations; even a garbage bearer token does not block dispatch, while a loopback-bind negative control prevents network access. The reported impact is bounded to the emulator process, debugging state, and local files accepted as media, rather than demonstrated host code execution. Gearboy 3.8.7 contains a patch.","aliases":["GHSA-fmvx-487g-mrww"],"modified":"2026-11-05T07:59:49.677428012Z","published":"2026-10-28T19:48:42.991Z","database_specific":{"cwe_ids":["CWE-306"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61542.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/drhelius/Gearboy/releases/tag/3.8.7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61542.json"},{"type":"ADVISORY","url":"https://github.com/drhelius/Gearboy/security/advisories/GHSA-fmvx-487g-mrww"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61542"},{"type":"FIX","url":"https://github.com/drhelius/Gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/drhelius/gearboy","events":[{"introduced":"0"},{"fixed":"4585127aa6dadc2376be4e8b9adae682fbfc2d43"},{"fixed":"e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"3.8.7"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc"}]},{"range":[{"fixed":"4585127aa6dadc2376be4e8b9adae682fbfc2d43"}],"source":"REFERENCES_TAG","original_tag":"3.8.7"}]}}],"versions":["3.8.6","3.8.5","3.8.4","3.8.3","3.8.2","3.8.1","3.8.0","3.7.5","3.7.4","3.7.3","3.7.2","3.7.1","3.7.0","3.6.1","3.6.0","3.5.0","gearboy-3.4.0","gearboy-3.3.0","gearboy-3.2.0","gearboy-3.1.1","gearboy-3.1.0","gearboy-3.0.4","gearboy-3.0.3","gearboy-3.0.2","gearboy-3.0.1","gearboy-3.0.0","gearboy-3.0.0-beta-1","gearboy-2.7.0","gearboy-2.3.1","gearboy-2.3","gearboy-2.2","gearboy-2.1","gearboy-2.0","gearboy-1.6","gearboy-1.5","gearboy-0.8","gearboy-0.7","gearboy-0.6","gearboy-0.5","gearboy-0.4","gearboy-0.3","gearboy-0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61542.json","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["239044858161953171581703701748454047649","249144290845616361173880888289381306447","157478761757112028300663147730632768117","84153382495413031658550460503999024914"],"threshold":0.9},"id":"CVE-2026-61542-07397d20","signature_type":"Line","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/emu.h"}},{"target":{"file":"platforms/shared/desktop/config.cpp"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["282517878586969293003763350879931088907","123361019105578506746140581707892178728","265848496697748784660035281957454835897","301619644183107340916360620323733246061","86624367364130816391119307796195737688","232274108337876456065852137280629071128","245442894945915556440284947883315041528","78235703195787363699754174143451823930"]},"id":"CVE-2026-61542-1f7cb5a5","signature_type":"Line","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc"},{"signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/mcp/mcp_manager.h"},"deprecated":false,"digest":{"line_hashes":["172294847458497119885525062051350987607","135178367842943312951070559137220693696","62504564580586421828231734390241106326","314462738548600761422332010423489053841","271122431692371601165655572892780395209","269570426920453124017720054447258767521","35015670986282986453165138561674559626","307455287902849712332900618067199931689","264646399975863488445861088663935043931","327280386693045767483054429949221412375","184512945788846199755740803948584889177","48360834083487692817555887294778540556","290439171447391078423688166135906430267","166335604264706507906086986856980510155","237718724633262340681244631768538893667","289535178800300924223338136411254807688","255569183640416849559903232894200492020","179614303723290927431279373119436698626","68683950770341017452007532299830423024","83358847910026778557190681042092633306"],"threshold":0.9},"id":"CVE-2026-61542-2b175c31","signature_type":"Line"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/gui.cpp"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["11221067740712128628009506900864942705","208110864690111562616791258316774229307","191969335399271667962288149644619801808","307099900126669948901828287966851459968"]},"id":"CVE-2026-61542-376f73df"},{"target":{"file":"platforms/shared/desktop/application_headless.h"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["212683564329796204644214040072888499275","238209680844830882063762066152095817867"]},"id":"CVE-2026-61542-3b9a683c","signature_type":"Line","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc"},{"target":{"file":"platforms/shared/desktop/application.cpp"},"deprecated":false,"digest":{"line_hashes":["310213710782306769582301562856862618884","68661685538211033349149735033307358374","199135482593212230311866449548918220614","52246898226750624906140856246171851228","235770530570209278367531580139828847405","44414156294187411229977444522959545572","35405088706775018909559648844347949542","90031967595712001794889611975152177289","287162530893860897078043721699610037268","264245907637277524150357893356163337844","222951484459169325896071255817671250715","41732281332570668683439020090895091765","272706579648778764565758257306638940094","107784523924925309086682224261490217852","82066939574684215351741500770106510062","249621895999854053353437024356039052951","19051760593774561124839192653113482948","166228049408001232896652268578746366440","1104648793045700558849038614116581237","20141285147986742921305657236565746129","234955886978542405817935610076297932013","276083743053489955483484363363609645904","51629384997317900048773920119052262045","77695266329004108312383734890379151634","272941442588944659832990128880097288057","216216848296009824772103287770638913915","241617127175723206839581322828727454412","172688859718098193542432454667715655035","99057227242751020882287985000871018667","123397219807445780235651042198549163373","219356934430164888953297457959813575225"],"threshold":0.9},"id":"CVE-2026-61542-4696d5e9","signature_type":"Line","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc"},{"target":{"function":"config_read","file":"platforms/shared/desktop/config.cpp"},"deprecated":false,"digest":{"function_hash":"285594421539847206829538688464956798460","length":18957},"id":"CVE-2026-61542-487899ec","signature_type":"Function","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc"},{"target":{"file":"platforms/shared/desktop/application.h"},"deprecated":false,"digest":{"line_hashes":["309216581072544236908889978883376334327","90326561674202100788007216698235632302","312035127115376401737071589828637879890","84899005856232803735490721743450365070","37376399959172203599533458676741225042","127627673891929711240898994816435312496","286582957405735750546233253801003134893","33116367258389193728908161935718162202","48091597229429159596042949019754063238","46978672781748917246543700972135429171"],"threshold":0.9},"id":"CVE-2026-61542-4e577d2a","signature_type":"Line","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc"},{"source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/mcp/mcp_transport.h"},"deprecated":false,"digest":{"line_hashes":["254936131509381504821287313001016466608","249414168062602502756599144520293289877","226631906583779175657892381851862984809","294433656135014448003257366083797383775","179325297424863067890089301046542532328","138033666899166989318237471078364569703","240109596528134633031809012050255318535","303528653429514262421468530467920491655","221933832688906917269771087709028998797","296230223293631016902573959784959375741","102750819400066182987247444078456920147","208642402455060664527540190301267764356","152871105917729970639631927651626639865","292253978552854341207194781455300661334","282773110907501326656385071284045011413","106200444459850087821589910525546782880","227810398429010270853589440375693428211","171434408145686685166660447667023450586","222299653396553289430967472470854619105","68655036239897395791774573552664948079","308826304138659414883944524060917009993","231889266343660523604980981244662860176","28997908602434552719973651069003268082","149347012464267899816785030346835554749","197642672899808557952383042822927407084","106803144121753264198187940159856104794","92274830957972942925950647863107268640","163379324969206130213427238978413800842","132267051777899925905145871088522964745","150254409598730794515715370313282989660","174164884229187146647122787205181145957","183464360999909404818052578072799587142","6022623817616588768592764946727800274","112262828026738114563829646708513303016","116415921375216778676284795427228585972","238463754500798576064309231295460881751","315675506393403180376290537688044416260","84203389962882536039086278686299095136","82552104673784229928477670980484760245","194571341041004895910544159795423498109","266511634376964693053649737848058194020","45108344719203945215739724259329483164","68383768028455578008187170234883811668","184093947345071899900771172995775237379","96287685224910129108761060017962738963","103624172306762755198530260159825504593","53426863893889092102921392297072725468","225835153992932174572557334999787739594","170151653420170186436898284725448255642","224000484559858779956541130393268987350","205176473953301111326721630298151981173","177503488364572329024022448197224969201","207974587727531336052857863610433086282","175032108286557244714040206858396078504","132439903101250598114972197550013474369","208657709510021651055661301993316748274","53165234530934416792886549297781668960","83099395149510254026547395656567007659","269819508163862896621500138520567492093","201544361216584461088219730818227274740","227573640884847257034012318631693630306","39372434958574934356850795010958061678","249068172909378067128445757525303244063","76460987696951598573527151411573162128","328285685077707627258623271839247740949","162368989982449262802622502695605466797","293019922669186205534431294030114045751","295753657775953001106283758752269168035","37836428175363772142007567700455556706","281597658540846580980462420400533319339","203582334633983586004758621101584265722","224396111347781136149179028212403124452","293922173404366521593864323580307180711","52987020477497245063480749062922297495","217871564562761232054338416846995254776","82234367625931400545868814890096679961","180622310308509226518924569243369693231","309104713825740545274122433556330742933","147939255407291660849709468011469423450","179068783762906641631371146952868424383","76535234531064169474361487537904526932","188827205578031485359439587736134544615","274577675509427700590618344319696123648","310376520856934927888715886003100616944","119270224348313371718193569143470078960","295127436434721331851694715781663497733","148828960484563151355135880552838025511","180622310308509226518924569243369693231","309104713825740545274122433556330742933","147939255407291660849709468011469423450","230100883550316731507951761903572484335","116993038267554058941141386206616397245","295422448372204454271868086110694882380","226948567841869496949717764121082958282","101472728772838666670970715219758359510","221793109715424339448000412295792748617","169365484848751477790505127256397268835","211764646163532571668455562015415000292","231293937158057622555049990666454357103","187727995388474691334165592659976098207","259958545752758099550275593271743668406","19488701896633905078659079877588385550","180622310308509226518924569243369693231","309104713825740545274122433556330742933","147939255407291660849709468011469423450","12734729647633095968239640072953780671","135022066286849967071313094567402268781","33919468645801446518282321096487273064","142976271909018000195898382546435813483","94347248772701721014948721192421169920","180622310308509226518924569243369693231","309104713825740545274122433556330742933","147939255407291660849709468011469423450","322558323955176681551778607105102435972","180622310308509226518924569243369693231","309104713825740545274122433556330742933","147939255407291660849709468011469423450","273800923539751719605994797357163646730","211800034701898862481942682028014133324","270209562671074872498367722980431281030","251072058274263576447098435023691480075","198287770194725835919420165046476383044","40717496506190251652466840328687084991","180144597718337342409593925977123353151","327004374071571229716121170871818479234"],"threshold":0.9},"id":"CVE-2026-61542-5139fb85","signature_type":"Line","signature_version":"v1"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/emu.cpp","function":"emu_mcp_set_transport"},"deprecated":false,"digest":{"length":129,"function_hash":"221078356325033281734151754330345160204"},"id":"CVE-2026-61542-5c498d7f"},{"id":"CVE-2026-61542-7e0b10ce","signature_type":"Line","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/emu.cpp"},"deprecated":false,"digest":{"line_hashes":["126239631350603648198596640283399799950","39747539155717676373693005640166640696","228398927876920381061896378255122884966","139049819324083412638808125778062532804","148018799248437361351135782769628640424","176410429775521185175068209082645203879","141849942560731645293206740996673541969"],"threshold":0.9}},{"source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/main.cpp"},"deprecated":false,"digest":{"line_hashes":["201388890652208397639640930554391976674","144055556536978425549997347630515486177","305420494813453887339686336785037394442","13845545159391526881483719827283184998","181192543123314026046249326202140539478","242217012388901641764658182626079273706","115995762803089900090598389233105646863","301624434193248062163742857620139643365","86067312060710228191179147039718075779","340131742247924324561911716793595749855","15112652642803735337174940042966068916","74979244625941028257954421920751732632","288268632793314622737728741982559013379","102361380635357515408892376512488212491","137452435529250991783795234300635612915","92414422844049930165087227314162336418","316795688346107893000000698432101968279","107373692733491753017345347634690279455","101429593991852448208675746785665532816","248802444665512078295196791298632546547","323002715334796783120150738373816613480","325408764603032996908799873470094704264","2922870546855261382124705825645565683","222905145397424202180025111032793079375","98468187986638017867940875642137941514","248012512701552438134813019414814684033","139334810624039690134799726486454174945","263227695480445969990520852789805130399","45072653254255892513995686318188646932","91716129862781185693862808564379881784","51733577934006265717143627408732495437","313792292846566408634111731440178814633","148716060538424316670838943970312254060","3659059335794558075571262026837660258","56438124517777675714095044709377855584","110039280580938089724006814397432465639","146277327360298491413285242455889189252","216628819176825603862908918242355201886","333074141710635353878506192750459148821","200328600079622189925458541824036917381","66011742328340345092131407343379238310","187264923697884911715782439780842583995","257188837644976602834991442633120095201","257626618941458089788509448894050521304","168366520540809102564714639233116333750","54188443444184995043387851189659942168","36074694736007733544502568561546318835","73024251530586751876090509983659808872","254413583721448604920105666846774094462","105994442471464653126486717246150708141","151487081726093172397424731146742006193","101619403205094677456458246594154506136","324752724676636608241295318158702063204","194896770672336922191514756685931250708","241090350330468242328679792472149314945","314144570593522101082365500963499225862","213313990294789572207326383600198529590","72841811499760999830755752181943059668","167301920545871565400104464589807082206","189174627689759026209405122552226305468","17040865898541114021183510288980076585","178279488567149706183130050809640834393","265777643614606150427403585362808692019","209739107684016727608423481241212446044","186077643278365523650567798184095282813","130017333750869314744409478976279667880","274646560280024374482322833718437732064","153201428778266897680760319238886926898","99993890707489300940959885586675342128","222269659755605023187466197694960173474","11422428988860613179594103170457285453","11206583832039180616476217671081464180","200001881330038684307396558605685837872"],"threshold":0.9},"id":"CVE-2026-61542-80076aff","signature_type":"Line","signature_version":"v1"},{"id":"CVE-2026-61542-8470cd7d","signature_type":"Function","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/config.cpp","function":"config_write"},"deprecated":false,"digest":{"function_hash":"337909581511327405330444042980605817823","length":15299}},{"signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/config.h"},"deprecated":false,"digest":{"line_hashes":["122065576787542348694302531968506917205","135183072771746184459733291145001319111","319906883311622149290830667799689015682","283949058341987458584025285885958407986"],"threshold":0.9},"id":"CVE-2026-61542-8a30ea25","signature_type":"Line"},{"signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"function":"menu_debug","file":"platforms/shared/desktop/gui_menus.cpp"},"deprecated":false,"digest":{"function_hash":"199475105852082334128063802819545339298","length":5470},"id":"CVE-2026-61542-a80c2113","signature_type":"Function"},{"deprecated":false,"digest":{"length":2342,"function_hash":"67796195989622017093160486936323589504"},"id":"CVE-2026-61542-abb0fbcd","signature_type":"Function","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"function":"gui_init","file":"platforms/shared/desktop/gui.cpp"}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/main.cpp","function":"main"},"deprecated":false,"digest":{"function_hash":"122800488671438497524022253164421786888","length":3385},"id":"CVE-2026-61542-abe6a7df"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/gui_menus.h"},"deprecated":false,"digest":{"line_hashes":["280474769002592847214756237085172772197","123345336989937693075429211512038626818","59219609334887936551873317001325386711","124891285245763223452394290218670914204"],"threshold":0.9},"id":"CVE-2026-61542-b6cf84a2"},{"source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"function":"application_headless_init","file":"platforms/shared/desktop/application_headless.cpp"},"deprecated":false,"digest":{"function_hash":"329161950327356223248736745428886788860","length":1634},"id":"CVE-2026-61542-bcd77aa4","signature_type":"Function","signature_version":"v1"},{"deprecated":false,"digest":{"function_hash":"47663518506707313558968291373504127198","length":1455},"id":"CVE-2026-61542-c3fa82bc","signature_type":"Function","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/application.cpp","function":"application_init"}},{"digest":{"line_hashes":["118156531263801963583695100134247680639","293777489916868820202957941289985148728","118106972527547940131108881338877039271","250990969386990316962742181439300777020","35752287400202421498613482773134152695","150912831455433383093333441960498542707","16483189512149603623808665354229512305","302069298493606395123486360758042308232","64562032578575540167795499685505673928","181027318968196546879146796465907603530","56503884593156505112201514145056165882","188020832266539467769789407909080720868","75702727394501826855323561429677684279","111406384951924371617768403837021783845","206962503092377238212610704093675159380","324010343183298530298473554781622110874","155049885543510783124568343878314434237","275542454969613656516225825713584379219","245976763279559174504168105238093125390"],"threshold":0.9},"id":"CVE-2026-61542-e43572e0","signature_type":"Line","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/gui_menus.cpp"},"deprecated":false},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["179261708104533312152153202639213539187","263267821854803011677911801104601589437","27729799098310282986626922759237107973","17566249977382051941420704887260529116","30637209620821345341819592875450829809","253582941438031874427418761465456791589","319630149888178834692297950916357426006","158664682147621640429462940526194245183","122451447420776031210726237671422719146","333389756422160586924270323200774613317","69606678637209156917038150664582114205","19051760593774561124839192653113482948","166228049408001232896652268578746366440","1104648793045700558849038614116581237","20141285147986742921305657236565746129","234955886978542405817935610076297932013","195569962943159285924858743613783002656","80790411473098459713117940691381274148","83153413252905636544013360886430560899","127115003485615207288243326156342023334","264952155033662464761603164048596723018","177393514601335455290076021406777165330","143254183218710318499520902559004536524","153621571792934005680589778997897757556"]},"id":"CVE-2026-61542-f4f61d60","signature_type":"Line","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"file":"platforms/shared/desktop/application_headless.cpp"}},{"id":"CVE-2026-61542-fd4049af","signature_type":"Function","signature_version":"v1","source":"https://github.com/drhelius/gearboy/commit/e2ead98e2fac41e9df5a499e9e421c6a0e73f1bc","target":{"function":"draw_mcp_status","file":"platforms/shared/desktop/gui_menus.cpp"},"deprecated":false,"digest":{"function_hash":"172915202897457139936230709682746487158","length":775}}],"vanir_signatures_modified":"2026-11-05T07:59:49Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"}]}