Điểm Tin Công NghệBản Tin TốiEvening Bulletin
Bản tin 02/12Bulletin 02/12

Công nghệ & DevTech & Dev · 02/12 · Mã bàiArticle BT-0240

Lỗ hổng Docker Sandboxes: bản cập nhật kit AI độc hại có thể đánh cắp API key của lập trình viênDocker Sandboxes flaw lets malicious AI agent kit updates steal developers' API keys

Đăng bàiPostXem bài viết gốcView original article

Một lỗ hổng trong Docker Sandboxes cho phép bản cập nhật sau của một kit agent bên thứ ba gửi khóa API thật của Anthropic, OpenAI hoặc GitHub tới máy chủ do kẻ tấn công kiểm soát, sau một lần phê duyệt và không cần lời nhắc mới. Nhà nghiên cứu Peyton Kennedy của Endor Labs phát hiện lỗ hổng CVE-2026-136998; Docker đã sửa trong phiên bản 0.55.0. Chưa có vụ tấn công nào khai thác lỗ hổng này được báo cáo.

Lỗ hổng Docker Sandboxes: bản cập nhật kit AI độc hại có thể đánh cắp API key của lập trình viên — ảnh bìa Bản Tin, nguồn The Hacker News, chủ đề docker
Ảnh: The Hacker NewsPhoto: The Hacker News

Diễn biến

  • Ngày 15 tháng 9: Phiên bản 0.43.0 ra mắt với hệ thống đồng ý; việc phê duyệt yêu cầu credential của kit sẽ ghi một binding ghi rõ dịch vụ và các tên miền đã đồng ý.
  • Ngày 21 tháng 9: Kennedy báo cáo lỗ hổng này và một lỗ hổng sao chép tệp cho Docker.
  • Ngày 3 tháng 11: Lỗ hổng sao chép tệp — cho phép agent truy cập tệp trên máy chủ ngoài các thư mục đã phê duyệt — được sửa.
  • Hôm qua: Docker sửa CVE-2026-136998 trong phiên bản 0.55.0.
  • Ngày 1 tháng 12 năm 2026: Nhà cung cấp công bố hồ sơ CVE chính thức; bài báo của Swati Khandelwal đăng trên The Hacker News.

Cơ chế

Docker Sandboxes chạy các agent lập trình AI trong máy ảo biệt lập và cam kết khóa thô không bao giờ vào sandbox: lập trình viên lưu khóa trên máy chủ bằng `sbx secret set`, agent gửi yêu cầu với header giữ chỗ, và một proxy trên máy chủ thay khóa thật vào khi yêu cầu đi ra. Kit — cấu hình agent đóng gói lấy từ registry, tham chiếu Git hoặc thư mục cục bộ — quyết định những đích nào nhận khóa thật.

Tuy nhiên, danh sách đã phê duyệt không bao giờ được đọc lại: hệ thống chỉ kiểm tra có binding cho tên dịch vụ hay không, rồi proxy gửi khóa thật tới bất kỳ tên miền nào mà phiên bản kit hiện tại chỉ định. Kennedy viết trong phân tích kỹ thuật của mình: "The domains the operator approved play no part in that decision." Trong thử nghiệm của ông, kit được phê duyệt chỉ với api.anthropic.com đã bị thay tại cùng một tham chiếu bằng phiên bản trỏ tới máy chủ thử nghiệm; lần tạo sandbox tiếp theo không hiện lời nhắc, proxy đã gửi khóa giả tới máy chủ đó dưới dạng cleartext, và phê duyệt vẫn còn ngay cả sau khi sandbox bị xóa. Nhật ký chính sách chỉ ghi kết nối được phép và không nói gì về việc khóa đã được chèn; một phiên bản kit độc hại cũng có thể tự thêm máy chủ của nó vào allowlist mạng của sandbox mà không cần lời nhắc.

Phạm vi ảnh hưởng

Hạng mụcChi tiết
Mã định danhCVE-2026-136998
Phiên bản bị ảnh hưởngMọi phiên bản trước 0.55.0 trên macOS, Windows và Linux; lỗi xuất hiện cùng hệ thống đồng ý được thêm trong 0.43.0
Bản sửa0.55.0
CVSS 3.18.2, High theo Kennedy; trước đó ông chấm 9.3, Critical rồi hiệu chỉnh vector tấn công thành local
CVSS 4.0Kennedy: 6.9, Medium; nhà cung cấp: 5.6, Medium; hai vector khác nhau ở việc thiệt hại với tài khoản nhà cung cấp đứng sau khóa bị đánh cắp có được tính vào điểm cơ sở hay không
Tích hợp13 tích hợp tích hợp sẵn dùng chung đường chèn khóa, gồm Anthropic, OpenAI, GitHub và Google; Kennedy thử nghiệm Anthropic bằng giá trị giả
Khai thác thực tếChưa có vụ tấn công nào được báo cáo

Khóa lưu bằng `sbx secret set` là toàn cục theo mặc định, nên khóa bị chuyển hướng là khóa mà mọi sandbox trên máy đều dùng. Token GitHub bị đánh cắp cho quyền theo phạm vi của nó; với token lập trình viên thông thường, điều đó gồm quyền ghi vào kho của họ, theo nhà nghiên cứu.

Vì sao tin này đáng chú ý

Kẻ tấn công không cần truy cập máy của lập trình viên, chỉ cần một lần phê duyệt và một dòng thay đổi trong phiên bản kit tiếp theo. Các kiểm tra khác vẫn đứng vững trong thử nghiệm của Kennedy: kit không thể mạo danh agent tích hợp sẵn, và lời nhắc đồng ý vẫn mặc định từ chối. Đây là lỗ hổng thứ hai của ông trong sản phẩm trong vòng một tháng, và trong cả hai trường hợp, theo ông, ranh giới máy ảo vẫn giữ vững, còn lỗi nằm ở chỗ phê duyệt của lập trình viên được gắn với cái gì. "a prompt is only as strong as what its answer is bound to. If the approval is not tied to the artifact that was inspected, the next update inherits it," Kennedy viết.

Việc cần làm ngay

Nâng cấp lên 0.55.0 sẽ loại bỏ lỗ hổng. Theo ghi chú phát hành, việc chèn credential của kit nay áp dụng riêng các đích đã phê duyệt cho khóa API và cho OAuth, và coi binding không có đích đã phê duyệt là không tồn tại.

  • Rà soát tệp phê duyệt: xóa mọi binding đã cấp cho kit bên thứ ba trong `~/.config/sbx/credentials.yaml`, hoặc `%APPDATA%\sbx\credentials.yaml` trên Windows; tệp chỉ ghi phê duyệt, không ghi giá trị khóa.
  • Kiểm tra mỗi lần `sbx create`: đọc các miền inject và các mục `permissions.network.allow` của kit trong mỗi lần tạo, không chỉ lần đầu.
  • Ghim kit: ghim kit ở một commit cố định nếu nguồn kit cho phép, hoặc giữ bản sao đã rà soát trong thư mục cục bộ.
  • Lưu khóa theo sandbox: dùng cờ `--sandbox` thay vì lưu toàn cục.
  • Xoay khóa: xoay khóa nhà cung cấp đứng sau bất kỳ kit bên thứ ba đã phê duyệt nào mà sau đó đã thay đổi.

Kennedy cũng đề nghị Docker gắn phê duyệt với content digest của kit và ghi mọi lần chèn khóa vào nhật ký chính sách. Các ghi chú đã công bố xác nhận việc áp dụng đích đã phê duyệt nhưng không nhắc tới hai thay đổi này.

Những điều nguồn chưa xác nhận

Nghiên cứu chỉ bao phủ sản phẩm cục bộ. Các sandbox đám mây dùng kho bí mật riêng, và nguồn chưa xác lập liệu chúng có từng dùng chung logic ủy quyền bị ảnh hưởng hay không. Nguồn cũng chưa xác nhận hai thay đổi được đề xuất — gắn phê duyệt với content digest của kit và ghi mọi lần chèn khóa — đã được triển khai hay chưa; các ghi chú đã công bố không nhắc tới chúng.

Nguồn: The Hacker News — Docker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys, ngày 1 tháng 12 năm 2026, tác giả Swati Khandelwal.

Đọc tiếp - Signal chặn AI agent đọc màn hình, cùng United Airlines và các ngân hàng siết rủi ro khách hàng (https://news.danhthanh.dev/bai/signal-siet-chat-ai-agent-doc-man-hinh-cung-united-airlines-ngan-hang-han-che-rui-ro) - Lỗ hổng USB2Shell trong nhân Linux cho phép USB độc hại giành quyền root mà không cần đăng nhập (https://news.danhthanh.dev/bai/lo-hong-usb2shell-trong-nhan-linux-cho-phep-usb-doc-hai-gianh-quyen-root-ma-khon)

A flaw in Docker Sandboxes lets a later update to a third-party agent kit send a developer's real Anthropic, OpenAI or GitHub API key to a server controlled by an attacker, after a single approval and with no new prompt. Endor Labs researcher Peyton Kennedy found the flaw, tracked as CVE-2026-136998; Docker fixed it in version 0.55.0. No attacks exploiting it have been reported.

Docker Sandboxes flaw lets malicious AI agent kit updates steal developers' API keys — Bản Tin cover image, source The Hacker News, topic docker
Ảnh: The Hacker NewsPhoto: The Hacker News

Timeline

  • September 15: Version 0.43.0 was released with the consent system; approving a kit's credential request wrote a binding recording the service and the domains agreed to.
  • September 21: Kennedy reported this flaw and a file-copy flaw to Docker.
  • November 3: The file-copy flaw, which let an agent access host files outside its approved folders, was fixed.
  • Yesterday: Docker fixed CVE-2026-136998 in version 0.55.0.
  • December 1, 2026: The vendor published the official CVE record; Swati Khandelwal's article appeared in The Hacker News.

Mechanism

Docker Sandboxes runs AI coding agents inside isolated virtual machines, and its promise is that raw keys never enter the sandbox: a developer stores a key on the host with `sbx secret set`, the agent sends requests with a placeholder header, and a proxy on the host swaps in the real key on the way out. The kit — a packaged agent configuration from a registry, a Git reference or a local folder — decides which destinations receive the real key.

That approved list was never read back: the check only asked whether a binding existed for the service name, and the proxy then sent the real key to whatever domains the current kit version named. Kennedy wrote in his technical analysis: "The domains the operator approved play no part in that decision." In his test, a kit approved only for api.anthropic.com was replaced at the same reference with a version pointing to a test server; the next sandbox creation showed no prompt, the proxy delivered the dummy key to that server in cleartext, and the approval survived the sandbox's deletion. The policy log recorded only that the connection was allowed, with nothing about a key being injected, and a malicious kit version could also add its own server to the sandbox's network allowlist without a prompt.

Scope of Impact

ItemDetail
IdentifierCVE-2026-136998
Affected versionsEvery version before 0.55.0 on macOS, Windows and Linux; the flaw was introduced by the consent system added in 0.43.0
Fix0.55.0
CVSS 3.18.2, High, rated by Kennedy; he first scored it 9.3, Critical, then corrected the attack vector to local
CVSS 4.0Kennedy: 6.9, Medium; vendor: 5.6, Medium; the vectors differ on whether harm to the provider account behind a stolen key counts in the base score
Integrations13 built-in integrations share the key-injection path, including Anthropic, OpenAI, GitHub and Google; Kennedy tested Anthropic with a dummy value
Real-world exploitationNo attacks using it have been reported so far

Secrets stored with `sbx secret set` are global by default, so a redirected key is the one every sandbox on the machine uses. A stolen GitHub token grants whatever its scopes allow, which for a typical developer token includes write access to their repositories, according to the researcher.

Why This Matters

The attacker never needs access to the developer's computer, only a one-time approval and a single changed line in the kit's next version. Other checks held in Kennedy's testing: a kit cannot impersonate a built-in agent, and the consent prompt still defaults to decline. This is his second flaw in the product within a month, and in both cases, he says, the virtual machine boundary held and the failure sat in what the developer's approval was attached to. "a prompt is only as strong as what its answer is bound to. If the approval is not tied to the artifact that was inspected, the next update inherits it," Kennedy wrote.

What to Do Now

Upgrading to 0.55.0 removes the flaw. Its release notes say kit credential injection now enforces the destinations approved for API keys and for OAuth separately, and treats a binding with no approved destinations as missing.

  • Review the approvals file: remove any binding granted to a third-party kit from `~/.config/sbx/credentials.yaml`, or `%APPDATA%\sbx\credentials.yaml` on Windows; the file records approvals, not key values.
  • Check every `sbx create`: read a kit's inject domains and its `permissions.network.allow` entries on every creation, not only the first.
  • Pin kits: pin a kit to a fixed commit where its source allows it, or keep a reviewed copy in a local folder.
  • Store keys per sandbox: use the `--sandbox` flag instead of storing keys globally.
  • Rotate keys: rotate the provider keys behind any approved third-party kit that later changed.

Kennedy also asked Docker to tie approvals to a kit's content digest and to record every key injection in the policy log. The published notes confirm destination enforcement and do not mention those two changes.

What the source does not confirm

The research covered the local product only. Cloud sandboxes maintain a separate secret store, and it has not been established whether they ever shared the affected authorization logic. The source also does not confirm whether the two requested changes — tying approvals to a kit's content digest and logging every key injection — have been implemented; the published notes do not mention them.

Source: The Hacker News — Docker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys, December 1, 2026, by Swati Khandelwal.

Read next - Signal blocks AI agents from reading screens as United Airlines and banks limit customer risks (https://news.danhthanh.dev/en/signal-joins-united-airlines-banks-limiting-ai-agents-customer-risks) - USB2Shell Linux Kernel Flaw Lets Malicious USB Devices Gain Root Access Without Login (https://news.danhthanh.dev/en/usb2shell-linux-kernel-flaw-lets-malicious-usb-devices-gain-root-access-without)

Nguồn tham chiếuSource: thehackernews.com

Đăng bàiPostXem bài viết gốcView original article
DockerDocker SandboxesAI AgentsApi KeysCVE 2026 136998

Đọc tiếpKeep reading

Ảnh bìa bài viết: Moody’s nâng xếp hạng tín nhiệm Agribank lên Ba1
Ảnh: VietnamNet Kinh DoanhPhoto: VietnamNet Kinh Doanh
Việt NamVietnam

Moody’s nâng xếp hạng tín nhiệm Agribank lên Ba1Moody’s Upgrades Agribank’s Credit Rating to Ba1

Tài chínhFinance · VietnamNet Kinh Doanh · Việt NamVietnam · 02/12

Ngày 2026-11-30, Moody’s nâng xếp hạng tín nhiệm Agribank từ Ba2 lên Ba1, ngang mức xếp hạng quốc gia, với triển vọng Ổn định; tổng tài sản đến 2026-09-30 đạt 2,88 triệu tỷ đồng, tăng 7,2% so với đầu năm.On 2026-11-30, Moody’s raised Agribank’s credit rating from Ba2 to Ba1, in line with Vietnam’s sovereign rating, with a Stable outlook; total assets as of 2026-09-30 reached VND 2.88 quadrillion, up 7.2% from the start of the year.

Ảnh bìa bài viết: Phó Cục trưởng Cục Thuế Mai Sơn cho biết: Kho dữ liệu thương mại điện tử đã có hơn 14 tỷ lượt giao dịch
Ảnh: CafeBizPhoto: CafeBiz
Việt NamVietnam

Phó Cục trưởng Cục Thuế Mai Sơn cho biết: Kho dữ liệu thương mại điện tử đã có hơn 14 tỷ lượt giao dịchAccording to Mai Son, Deputy Director of the Tax Department: E-commerce data warehouse holds more than 14 billion transactions

Tài chínhFinance · CafeBiz · Việt NamVietnam · 02/12

Theo ông Mai Sơn, Phó Cục trưởng Cục Thuế (Bộ Tài chính), phát biểu tại Diễn đàn Thuế 2026 sáng 1/12, cơ quan Thuế đã hình thành kho dữ liệu thương mại điện tử với hơn 14 tỷ lượt giao dịch, thu thập từ các sàn thương mại điện tử và các tổ chức cung cấp dịch vụ. Tỷ lệ doanh nghiệp, hộ kinh doanh khai thuế điện tử đã đạt trên 90%, và dữ liệu được dùng để hỗ trợ người nộp thuế đối chiếu, xác định nghĩa vụ thuế, bên cạnh kiểm tra, giám sát.According to Mai Son, Deputy Director of the Tax Department (Ministry of Finance), speaking at Tax Forum 2026 on the morning of 1 December, the tax authority had built an e-commerce data warehouse with more than 14 billion transactions, collected from e-commerce platforms and service providers. The share of enterprises and business households filing tax electronically had reached over 90%, and the data is used to help taxpayers reconcile information and determine their tax obligations, in addition to inspection and supervision.

Ảnh bìa bài viết: Chuyên gia dự báo giá vàng tăng trở lại vào tuần tới
Ảnh: VnExpress Kinh DoanhPhoto: VnExpress Kinh Doanh
Việt NamVietnam

Chuyên gia dự báo giá vàng tăng trở lại vào tuần tớiExperts forecast gold prices to rise again next week

Tài chínhFinance · VnExpress Kinh Doanh · Việt NamVietnam · 02/12

Vàng giao ngay (spot gold) chốt phiên cuối tuần tại 3.653 USD một ounce, tăng 1,77% trong phiên và 0,77% so với cuối tuần trước, sau khi từng thủng mốc 3.500 USD trong phiên 25/11. Khảo sát Kitco News cho thấy 6 trong 15 chuyên gia dự báo giá tăng tuần tới, trong khi 43% nhà đầu tư cá nhân dự báo giá giảm. Tâm điểm tuần tới là báo cáo việc làm tháng 11 của Mỹ, công bố ngày 4/12.Spot gold closed the final session of the week at $3,653 an ounce, up 1.77% on the session and 0.77% from the end of the previous week, after falling below $3,500 during the 25/11 session. A Kitco News survey found 6 of 15 experts expect gold to rise next week, while 43% of retail investors expect prices to fall. The focus next week is the US jobs report for November, due on 4/12.

Ảnh bìa bài viết: Giá vàng giảm, người mua đỉnh lịch sử tạm lỗ hơn 60 triệu đồng/lượng
Ảnh: Dân Trí Kinh DoanhPhoto: Dân Trí Kinh Doanh
Việt NamVietnam

Giá vàng giảm, người mua đỉnh lịch sử tạm lỗ hơn 60 triệu đồng/lượngGold falls, buyers at historic peak face temporary loss of over VND 60 million per tael

Tài chínhFinance · Dân Trí Kinh Doanh · Việt NamVietnam · 02/12

Sáng 1/12, giá vàng thế giới ở mức 3.627 USD/ounce, giảm hơn 28 USD/ounce so với sáng qua, tương đương khoảng 113,8 triệu đồng/lượng. Chốt phiên 30/11, vàng miếng SJC ở mức 131–136 triệu đồng/lượng và vàng nhẫn ở mức 130,8–135,8 triệu đồng/lượng; người mua ở đỉnh lịch sử 191,3 triệu đồng/lượng cuối tháng 1 tạm lỗ tới 60,3 triệu đồng/lượng với SJC và khoảng 60,5 triệu đồng/lượng với vàng nhẫn, mất hơn 31% vốn, trong khi người mua từ đầu năm 2026 tạm lỗ 18,1–21,8 triệu đồng/lượng.On the morning of 1/12, world gold stood at 3,627 USD/ounce, down more than 28 USD/ounce from the previous morning, equivalent to about 113.8 million VND/tael. At the close on 30/11, SJC gold bars stood at 131–136 million VND/tael and gold rings at 130.8–135.8 million VND/tael; buyers at the historic peak of 191.3 million VND/tael at the end of January were temporarily losing up to 60.3 million VND/tael on SJC bars and about 60.5 million VND/tael on gold rings, more than 31% of capital, while buyers from the start of 2026 were temporarily losing 18.1–21.8 million VND/tael.