{"id":"CVE-2026-39903","state":"PUBLISHED","title":"Simple Machines Forum Authorization Bypass via AttachmentApprove.php","description":"Simple Machines Forum 2.1 prior to commit 7d048f8 and 3.0 prior to commit a7875e8 contains an authorization bypass vulnerability in Sources/Actions/AttachmentApprove.php where a single-character operator error causes the permission check to always pass regardless of user permissions. An authenticated low-privileged user can approve, reject, or delete any pending attachments on any board without holding the required approve_posts permission, bypass moderation queues for their own uploads, and enumerate and delete other users' pending attachments.","publishedAt":"2026-07-10T16:03:20.983Z","updatedAt":"2026-07-28T01:48:45.607Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["SimpleMachines SMF"],"affected":[{"vendor":"SimpleMachines","product":"SMF","packageURL":"pkg:github/SimpleMachines/SMF","defaultStatus":"affected","versions":[{"version":"2.1.0","status":"affected","lessThanOrEqual":"2.1.7","versionType":"semver"},{"version":"7d048f8d66aab9af51cd6ee110fbad103cf673e8","status":"unaffected","versionType":"git"},{"version":"3.0.0","status":"affected","versionType":"semver"},{"version":"a7875e876a647572dd4c45da881b875092caac3d","status":"unaffected","versionType":"git"}],"repo":"https://github.com/SimpleMachines/SMF"}],"references":["https://github.com/SimpleMachines/SMF/pull/9182","https://github.com/SimpleMachines/SMF/pull/9181","https://github.com/SimpleMachines/SMF/commit/7d048f8d66aab9af51cd6ee110fbad103cf673e8","https://github.com/SimpleMachines/SMF/commit/a7875e876a647572dd4c45da881b875092caac3d","https://www.vulncheck.com/advisories/simple-machines-forum-authorization-bypass-via-attachmentapprove-php"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/39xxx/CVE-2026-39903.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-39903","state":"PUBLISHED","datePublished":"2026-07-10T16:03:20.983Z","dateUpdated":"2026-07-28T01:48:45.607Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-04-07T20:57:06.209Z"},"containers":{"cna":{"title":"Simple Machines Forum Authorization Bypass via AttachmentApprove.php","descriptions":[{"lang":"en","value":"Simple Machines Forum 2.1 prior to commit 7d048f8 and 3.0 prior to commit a7875e8 contains an authorization bypass vulnerability in Sources/Actions/AttachmentApprove.php where a single-character operator error causes the permission check to always pass regardless of user permissions. An authenticated low-privileged user can approve, reject, or delete any pending attachments on any board without holding the required approve_posts permission, bypass moderation queues for their own uploads, and enumerate and delete other users' pending attachments."}],"affected":[{"vendor":"SimpleMachines","product":"SMF","packageURL":"pkg:github/SimpleMachines/SMF","defaultStatus":"affected","versions":[{"version":"2.1.0","status":"affected","lessThanOrEqual":"2.1.7","versionType":"semver"},{"version":"7d048f8d66aab9af51cd6ee110fbad103cf673e8","status":"unaffected","versionType":"git"},{"version":"3.0.0","status":"affected","versionType":"semver"},{"version":"a7875e876a647572dd4c45da881b875092caac3d","status":"unaffected","versionType":"git"}],"repo":"https://github.com/SimpleMachines/SMF"}],"references":[{"url":"https://github.com/SimpleMachines/SMF/pull/9182","name":"Pull Request (v2.1)","tags":["issue-tracking"]},{"url":"https://github.com/SimpleMachines/SMF/pull/9181","name":"Pull Request (v3.0)","tags":["issue-tracking"]},{"url":"https://github.com/SimpleMachines/SMF/commit/7d048f8d66aab9af51cd6ee110fbad103cf673e8","name":"Patch Commit (v2.1)","tags":["patch"]},{"url":"https://github.com/SimpleMachines/SMF/commit/a7875e876a647572dd4c45da881b875092caac3d","name":"Patch Commit (v3.0)","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/simple-machines-forum-authorization-bypass-via-attachmentapprove-php","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.1,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"LOW","version":"3.1","baseSeverity":"HIGH","baseScore":7.1,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-28T01:48:45.607Z"},"tags":["x_open-source"],"datePublic":"2026-04-07T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:simplemachines:simple_machines_forum:*:*:*:*:*:*:*:*","versionStartIncluding":"2.1.0","versionEndIncluding":"2.1.7"},{"vulnerable":true,"criteria":"cpe:2.3:a:simplemachines:simple_machines_forum:3.0.0:*:*:*:*:*:*:*"}]}]}],"credits":[{"lang":"en","value":"Elure (Marasescu Mihnea-Luca)","type":"finder"},{"lang":"en","value":"VulnCheck","type":"coordinator"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-14T01:56:17.608329Z","id":"CVE-2026-39903","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-14T01:57:00.927Z"}}]}}}