Wiz Agents & Workflows are here

CVE-2022-36068
NixOS vulnerability analysis and mitigation

Overview

Discourse, an open source discussion platform, was affected by a security bypass vulnerability (CVE-2022-36068) that allowed moderators to create new and edit existing themes via the API when they should not have had this capability. The vulnerability affected versions prior to 2.8.9 on the 'stable' branch and prior to 2.9.0.beta10 on the 'beta' and 'tests-passed' branches (GitHub Advisory).

Technical details

The vulnerability was caused by missing authorization controls in the API, which allowed moderators to bypass intended access restrictions for theme management. The vulnerability received a CVSS v3.1 score of 7.2 (High), with the following base metrics: Attack Vector: Network, Attack Complexity: Low, Privileges Required: High, User Interaction: None, Scope: Unchanged, Confidentiality: High, Integrity: High, Availability: High (GitHub Advisory).

Impact

The vulnerability allowed moderators to gain unauthorized access to theme management functionality through the API, enabling them to create new themes and modify existing ones, which should have been restricted to administrators only (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 2.8.9 on the 'stable' branch and version 2.9.0.beta10 on the 'beta' and 'tests-passed' branches. The fix involved applying proper AdminConstraint for all theme-related routes and ensuring admin-level authorization checks (GitHub Advisory, GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-2370HIGH8.8
  • GitLabGitLab
  • gitlab
NoYesMar 30, 2026
CVE-2026-33206HIGH8.2
  • NixOSNixOS
  • calibre
NoYesMar 27, 2026
CVE-2026-33868MEDIUM6.1
  • NixOSNixOS
  • mastodon
NoYesMar 27, 2026
CVE-2026-33869MEDIUM4.8
  • NixOSNixOS
  • cpe:2.3:a:joinmastodon:mastodon
NoYesMar 27, 2026
CVE-2026-33205MEDIUM4.8
  • NixOSNixOS
  • cpe:2.3:a:calibre-ebook:calibre
NoYesMar 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management