/

CVE-2026-116873

Severity:

HIGH RISK

(7.3)

Missing Authorization (CWE-862) in Semantic MediaWiki

CVE-2026-116873

Analyzed

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Unauthorized Job Execution, Information Disclosure, and Resource Exhaustion

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Semantic MediaWiki contains a missing authorization vulnerability in the smwtask API module that can allow unauthenticated users to run queued jobs and trigger store updates. When the affected API operations are publicly reachable, attackers may execute jobs repeatedly, access sysop-protected update functionality, disclose page titles, or exhaust application resources.

Semantic MediaWiki contains a missing authorization vulnerability in the smwtask API module that can allow unauthenticated users to run queued jobs and trigger store updates. When the affected API operations are publicly reachable, attackers may execute jobs repeatedly, access sysop-protected update functionality, disclose page titles, or exhaust application resources.

Affected context

The issue affects Semantic MediaWiki deployments using the vulnerable smwtask API behavior, particularly where anonymous users can obtain and use a public CSRF token with the run-joblist operation or invoke update actions associated with protected pages. Risk depends on API exposure, authorization configuration, queued-job handling, and the resources available to the MediaWiki installation.

The issue affects Semantic MediaWiki deployments using the vulnerable smwtask API behavior, particularly where anonymous users can obtain and use a public CSRF token with the run-joblist operation or invoke update actions associated with protected pages. Risk depends on API exposure, authorization configuration, queued-job handling, and the resources available to the MediaWiki installation.

Exploit preconditions

  • Attack surface: The Semantic MediaWiki smwtask API module.
  • Required access: No authenticated account is generally required when the affected API operations and anonymous CSRF token are publicly available.
  • Trigger point: Requests to run-joblist or to the update operation for pages that should require sysop authorization.
  • Why exploitation is possible: Authorization checks do not consistently restrict job execution or protected update actions, allowing anonymous requests to reach privileged functionality and potentially submit unbounded work.
  • Attack surface: The Semantic MediaWiki smwtask API module.
  • Required access: No authenticated account is generally required when the affected API operations and anonymous CSRF token are publicly available.
  • Trigger point: Requests to run-joblist or to the update operation for pages that should require sysop authorization.
  • Why exploitation is possible: Authorization checks do not consistently restrict job execution or protected update actions, allowing anonymous requests to reach privileged functionality and potentially submit unbounded work.

Why this happens

The underlying flaw is a missing or incomplete authorization check in an API module that exposes operations capable of executing queued jobs and updating stored data. The application treats possession of a public anonymous CSRF token as sufficient for actions that also require authorization, rather than enforcing server-side permissions for each operation and target. This maps to CWE-862, Missing Authorization, where a sensitive function lacks an effective access-control decision.

The underlying flaw is a missing or incomplete authorization check in an API module that exposes operations capable of executing queued jobs and updating stored data. The application treats possession of a public anonymous CSRF token as sufficient for actions that also require authorization, rather than enforcing server-side permissions for each operation and target. This maps to CWE-862, Missing Authorization, where a sensitive function lacks an effective access-control decision.

Potential impact

  • Unauthenticated users may execute arbitrary supported queued job types.
  • Attackers could trigger jobs in excessive or unbounded quantities.
  • Protected store updates may be initiated without sysop authorization.
  • Page titles or related metadata may be disclosed.
  • Application workers, queues, databases, or other resources may be exhausted.
  • Repeated unauthorized updates could affect data integrity or availability.
  • Unauthenticated users may execute arbitrary supported queued job types.
  • Attackers could trigger jobs in excessive or unbounded quantities.
  • Protected store updates may be initiated without sysop authorization.
  • Page titles or related metadata may be disclosed.
  • Application workers, queues, databases, or other resources may be exhausted.
  • Repeated unauthorized updates could affect data integrity or availability.

General mitigation guidance

Mitigation generally focuses on enforcing authorization independently of

CSRF-token possession and limiting the capabilities of public API endpoints.

Common defensive patterns include:

  • Applying explicit permission checks to every smwtask operation and target.
  • Ensuring job execution is restricted to trusted roles or internal callers.
  • Requiring appropriate authorization for updates to protected pages.
  • Validating job types, quantities, and execution scope against an allowlist.
  • Applying rate limits, quotas, queue limits, and resource isolation to

background work.

  • Reducing anonymous API exposure where the functionality is not required.
  • Returning only the minimum metadata needed by authorized callers.
  • Running workers and database identities with least privilege.

Mitigation generally focuses on enforcing authorization independently of

CSRF-token possession and limiting the capabilities of public API endpoints.

Common defensive patterns include:

  • Applying explicit permission checks to every smwtask operation and target.
  • Ensuring job execution is restricted to trusted roles or internal callers.
  • Requiring appropriate authorization for updates to protected pages.
  • Validating job types, quantities, and execution scope against an allowlist.
  • Applying rate limits, quotas, queue limits, and resource isolation to

background work.

  • Reducing anonymous API exposure where the functionality is not required.
  • Returning only the minimum metadata needed by authorized callers.
  • Running workers and database identities with least privilege.

How teams detect issues like this

Organizations can identify similar issues through:

  • Static analysis and code review checks for API handlers that lack explicit

permission or role checks.

  • Searches for authorization decisions based only on CSRF-token validation.
  • Review of all paths that enqueue jobs, execute arbitrary job types, or

update protected content.

  • Integration tests that exercise sensitive API operations as anonymous users.
  • Monitoring for unusual anonymous requests, repeated job submissions, queue

growth, and unauthorized store updates.

  • Policy enforcement requiring documented access-control checks for every

state-changing or resource-intensive endpoint.

  • Automated security review tools that flag missing authorization and

unrestricted background-job execution patterns.

Organizations can identify similar issues through:

  • Static analysis and code review checks for API handlers that lack explicit

permission or role checks.

  • Searches for authorization decisions based only on CSRF-token validation.
  • Review of all paths that enqueue jobs, execute arbitrary job types, or

update protected content.

  • Integration tests that exercise sensitive API operations as anonymous users.
  • Monitoring for unusual anonymous requests, repeated job submissions, queue

growth, and unauthorized store updates.

  • Policy enforcement requiring documented access-control checks for every

state-changing or resource-intensive endpoint.

  • Automated security review tools that flag missing authorization and

unrestricted background-job execution patterns.

Sources

SourceLink
github.comgithub.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-rjqv-6r83-pg8v
vulncheck.comvulncheck.com/advisories/semantic-mediawiki-7.3.0-missing-authorization-via-smwtask-api-run-joblist-and-update

Frequently asked

questions

Yes, an exposed Semantic MediaWiki API may be reachable remotely, and the

described abuse can generally be performed without an authenticated account

when anonymous access and the public CSRF-token flow are available.

The primary prerequisite is network access to the affected API operations.

Authentication may not be required, but exploitability still depends on

deployment configuration, endpoint exposure, and enabled functionality.

Enforce server-side authorization for every smwtask operation, especially job

execution and protected updates, and do not treat a CSRF token as a

substitute for permission checks. Restrict job types and apply execution

quotas where appropriate.

Use deny-by-default API authorization, test sensitive endpoints with

anonymous and low-privilege identities, limit background-job resources, and

monitor for unexpected public access to state-changing operations.

Yes, an exposed Semantic MediaWiki API may be reachable remotely, and the

described abuse can generally be performed without an authenticated account

when anonymous access and the public CSRF-token flow are available.

The primary prerequisite is network access to the affected API operations.

Authentication may not be required, but exploitability still depends on

deployment configuration, endpoint exposure, and enabled functionality.

Enforce server-side authorization for every smwtask operation, especially job

execution and protected updates, and do not treat a CSRF token as a

substitute for permission checks. Restrict job types and apply execution

quotas where appropriate.

Use deny-by-default API authorization, test sensitive endpoints with

anonymous and low-privilege identities, limit background-job resources, and

monitor for unexpected public access to state-changing operations.

Find out what's already
exploitable in your codebase.