{"id":"CVE-2026-118041","kind":"vulnerability","aliases":["CVE-2026-118041"],"related":[],"title":"WordPress Contest Gallery plugin: uploads let Author users run code on server","description":"The Contest Gallery  WordPress plugin before 34.0.3 does not sanitise the name of files uploaded through its e-commerce sale file-replacement feature, allowing authenticated users with Author-level access and above to write files with an arbitrary name and extension to a web-accessible directory and, by overwriting the directory's protection file through the same flow, achieve Remote Code Execution.","summary":"The Contest Gallery WordPress plugin before 34.0.3 does not sanitise file names uploaded through its e-commerce sale file-replacement feature. An authenticated user with Author-level access or higher can write files with arbitrary names and extensions into a web-accessible directory, and can overwrite the directory's protection file to achieve remote code execution.","severity":"high","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["contest-gallery","other","wordpress"],"not_affected_if":["no-author-accounts","plugin-version-34.0.3-or-later"],"how_to_check":"- Check the installed Contest Gallery plugin version in the WordPress admin Plugins page; unknown whether a specific file path or setting exposes it.","fix":"- Contest Gallery: move to `34.0.3` or later (the fixed version named in the description).","status":"open","published_at":"2026-11-11T06:17:14+00:00","first_seen_at":"2026-11-11T06:25:41+00:00","triaged_at":"2026-11-11T06:27:45+00:00","updated_at":"2026-11-11T06:27:45+00:00","category":"other","confidence":0.7,"triage":{"at":"2026-11-11T06:27:45Z","model":"claude-haiku-5-5","output":{"fix":"- Contest Gallery: move to `34.0.3` or later (the fixed version named in the description).","reach":"internet","title":"WordPress Contest Gallery plugin: uploads let Author users run code on server","impact":"high","summary":"The Contest Gallery WordPress plugin before 34.0.3 does not sanitise file names uploaded through its e-commerce sale file-replacement feature. An authenticated user with Author-level access or higher can write files with arbitrary names and extensions into a web-accessible directory, and can overwrite the directory's protection file to achieve remote code execution.","audience":"businesses","category":"other","nicknames":[],"who_cares":["wordpress","contest-gallery"],"confidence":0.7,"fix_status":"available","needs_auth":"yes","worst_case":"Attacker runs code on the web server through uploaded files","analyst_note":"","how_to_check":"- Check the installed Contest Gallery plugin version in the WordPress admin Plugins page; unknown whether a specific file path or setting exposes it.\n- unknown for other checks; the sources do not say.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["plugin-version-34.0.3-or-later","no-author-accounts"],"who_is_affected":"Sites running the Contest Gallery WordPress plugin before 34.0.3 where users with Author-level access or higher can use the e-commerce sale file-replacement feature. The attacker needs a logged-in Author account, so sites without untrusted Author accounts face less risk. unknown whether the e-commerce feature must be enabled for exposure.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000749,"input_tokens":4574,"output_tokens":584,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-118041':15A,18A '-2026':14A,17A '34.0.3':30B,90C 'access':54B,69B,116C,132C 'achiev':80B,146C 'allow':109C 'arbitrari':61B,124C 'authent':48B,110C 'author':7A,52B,114C 'author-level':51B,113C 'code':10A,82B,148C 'commerc':41B,103C 'contest':2A,20B,25B,85C 'contest-galleri':19B 'cve':13A,16A 'directori':70B,75B,133C,138C 'e':40B,102C 'e-commerc':39B,101C 'execut':83B,149C 'extens':64B,127C 'featur':46B,108C 'file':34B,44B,59B,78B,97C,106C,121C,141C 'file-replac':43B,105C 'flow':145C 'galleri':3A,21B,26B,86C 'higher':56B 'let':6A 'level':53B,115C 'name':35B,62B,95C,125C 'overwrit':73B,136C 'plugin':4A,28B,88C 'protect':77B,140C 'remot':81B,147C 'replac':45B,107C 'run':9A 'sale':42B,104C 'sanitis':33B,93C 'server':12A 'upload':5A,36B,98C 'user':8A,49B,111C 'web':68B,131C 'web-access':67B,130C 'wordpress':1A,23B,27B,87C 'write':58B,120C","nicknames":[],"mitigations":[],"who_affected":"Sites running the Contest Gallery WordPress plugin before 34.0.3 where users with Author-level access or higher can use the e-commerce sale file-replacement feature. The attacker needs a logged-in Author account, so sites without untrusted Author accounts face less risk. unknown whether the e-commerce feature must be enabled for exposure.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["contestgallery","high","other","wordpress"],"campaign_type":null,"search_a":"'-118041':15A,18A '-2026':14A,17A 'author':7A 'code':10A 'contest':2A 'cve':13A,16A 'galleri':3A 'let':6A 'plugin':4A 'run':9A 'server':12A 'upload':5A 'user':8A 'wordpress':1A","search_b":"'34.0.3':30B 'access':54B,69B 'achiev':80B 'arbitrari':61B 'authent':48B 'author':52B 'author-level':51B 'code':82B 'commerc':41B 'contest':20B,25B 'contest-galleri':19B 'directori':70B,75B 'e':40B 'e-commerc':39B 'execut':83B 'extens':64B 'featur':46B 'file':34B,44B,59B,78B 'file-replac':43B 'galleri':21B,26B 'higher':56B 'level':53B 'name':35B,62B 'overwrit':73B 'plugin':28B 'protect':77B 'remot':81B 'replac':45B 'sale':42B 'sanitis':33B 'upload':36B 'user':49B 'web':68B 'web-access':67B 'wordpress':23B,27B 'write':58B","search_c":"'34.0.3':90C 'access':116C,132C 'achiev':146C 'allow':109C 'arbitrari':124C 'authent':110C 'author':114C 'author-level':113C 'code':148C 'commerc':103C 'contest':85C 'directori':133C,138C 'e':102C 'e-commerc':101C 'execut':149C 'extens':127C 'featur':108C 'file':97C,106C,121C,141C 'file-replac':105C 'flow':145C 'galleri':86C 'level':115C 'name':95C,125C 'overwrit':136C 'plugin':88C 'protect':140C 'remot':147C 'replac':107C 'sale':104C 'sanitis':93C 'upload':98C 'user':111C 'web':131C 'web-access':130C 'wordpress':87C 'write':120C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-11T06:17:14+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-118041","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118041","severity":null,"published_at":"2026-11-11T06:17:14+00:00","modified_at":"2026-11-11T06:17:14+00:00","first_seen_at":"2026-11-11T06:25:41+00:00","fetched_at":"2026-11-11T06:25:41+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}