CVE-2021-27204
NixOS vulnerability analysis and mitigation

Overview

Telegram before version 7.4 (212543) Stable on macOS contained a security vulnerability (CVE-2021-27204) where the application stored the local passcode in cleartext. This vulnerability was discovered and reported in February 2021, affecting the macOS version of the Telegram messaging application (NVD, Input Zero).

Technical details

The vulnerability was identified as a cleartext storage of sensitive information (CWE-312). The issue specifically involved the storage of local passcodes used to unlock the application in plaintext format within the Users/[username]/Library/Group Containers/6N38VWS5BX.ru.keepcoder.Telegram/accounts-metadata JSON file. The vulnerability received a CVSS v3.1 Base Score of 5.5 (MEDIUM) and a CVSS v2.0 Base Score of 2.1 (LOW) (NVD).

Impact

The vulnerability could lead to information disclosure, potentially allowing unauthorized access to user passcodes if an attacker gained access to the affected system. The exposure of cleartext passcodes could compromise the security of user accounts and their associated data (Cyber Security News).

Exploitability

The vulnerability required local access to the affected system to exploit. An attacker would need to access the specific file path where the passcode was stored in cleartext to obtain the sensitive information (NVD).

Mitigation and workarounds

The vulnerability was patched in Telegram version 7.4 (212543) Stable for macOS. Users were advised to update to this version or later to address the security issue. The security researcher who discovered the vulnerability was awarded a bounty of 3000 euros for reporting the issue (Input Zero).

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-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 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