CVE-2026-139967

my.netkarin.net
جزئیات آسیب‌پذیری
CVE-2026-139967 متوسط CVSS 6.7
کلیدهای API در قالب متن ساده در ورودی‌های لاگ حسابرسی AshAuthentication ذخیره می‌شوند
Plaintext API keys stored in AshAuthentication audit log entries
فروشنده: Team-alembic
تاریخ انتشار: 2026-12-04 06:38:22
Ash Authentication

توضیح (فارسی)

ش neden قرینه اطلاعات حساس در فایل لاگ در team-alembic ash_authentication به خواننده لاگ حسابرسی امکان می‌دهد تا به عنوان هر کاربری که با کلید API وارد شده است، وارد شود. افزونه audit_log هر آرگومان عمومی یک عملیات حسابرسی شده که به عنوان sensitive? علامت‌گذاری نشده باشد، ثبت می‌کند. عملیات ورود با کلید API که توسط mix ash_authentication.add_strategy.api_key، راهنمای کلیدهای API و قوانین استفاده نوشته شده، api_key را بدون sensitive? اعلام می‌کند، و هیچ چیز آن را اجبار نمی‌کرد، بنابراین هر ورود با کلید API، شامل هر درخواستی که AshAuthentication.Strategy.ApiKey.Plug احراز هویت می‌کند، کلید متن ساده را در extra_data ورودی ذخیره می‌کرد. برنامه فقط هش‌های کلید را نگه می‌دارد، اما هر کسی که بتواند جدول حسابرسی، پشتیبان‌های آن یا یک نمای ادمین از آن را بخواند، کلیدهای کارآمد را به دست می‌آورد. توکن‌های لینک جادویی و تایید، رمزهای یکبار مصرف، و کدهای TOTP و بازیابی به همین روش ذخیره می‌شدند وقتی عملیات آن‌ها را به عنوان sensitive علامت‌گذاری نمی‌کرد. این مشکل بر ash_authentication تأثیر می‌گذارد: از 4.12.0 تا قبل از 4.15.2 و از 5.0.0-rc.0 تا قبل از 5.0.0-rc.19.

Original description (English)

Insertion of Sensitive Information into Log File vulnerability in team-alembic ash_authentication allows a reader of the audit log to sign in as any user who has signed in with an API key.

The audit_log add-on records every public argument of an audited action that is not marked sensitive?. The API key sign-in action written by mix ash_authentication.add_strategy.api_key, the API keys guide and the usage rules declares api_key without sensitive?, and nothing required it, so every API key sign-in, including each request AshAuthentication.Strategy.ApiKey.Plug authenticates, stored the plaintext key in the entry's extra_data. The application keeps only key hashes, but anyone who can read the audit table, its backups or an admin view of it obtains working keys. Magic link and confirmation tokens, one-time passwords, and TOTP and recovery codes were stored the same way when the action did not mark them sensitive.

This issue affects ash_authentication: from 4.12.0 before 4.15.2 and from 5.0.0-rc.0 before 5.0.0-rc.19.

6.7 امتیاز CVSS
1.0٪ احتمال بهره‌برداری (EPSS)
— تاریخ گزارش بهره‌برداری
— تاریخ ثبت در CISA