Chinese-nexus actor’s Cairn AI agents found a zero-day on their own

Post Syndicated from CJ Moses original https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/

Amazon Threat Intelligence is sharing findings from an investigation into a Chinese-nexus threat actor using autonomous AI agents to conduct hacking operations with minimal human involvement. The actor gave the agents a simple goal: “obtain shell access.” During the campaign, the agents found a zero-day in an open-source application and used it to gain full control of a server. These findings show that agentic offensive operations are already happening, and defenders should prepare for the speed and persistence these tools enable.

Discovery

On September 10, 2026, Amazon Threat Intelligence identified a server with a publicly hosted instance of Cairn, an open-source autonomous AI penetration-testing framework, running without authentication. Because the operator left the server publicly accessible, the operational history of the platform was visible to anyone on the internet, including project configurations, actor prompts, and AI output. The operator wrote prompts in Simplified Chinese, and the timestamps in executed scripts were configured to China Standard Time.

Analysis of the instance revealed a campaign targeting IP addresses associated with universities in East Asia outside mainland China over an approximately 48-hour period beginning September 8, 2026.

Cairn and an overview of this campaign

Cairn was built as a research and problem-solving engine for defenders. Operating it is simple. Given a starting point and an objective in plain language, it coordinates multiple AI agents to find a path to that goal. That same ease of use makes it attractive to threat actors. In this campaign, the actor provided a list of targeted IP addresses with variations of the goal to “obtain shell access.” Based on those inputs, the AI agents planned, executed, and adjusted their approach as they learned, without the operator choosing each next step.

The campaign included several operations that varied widely in complexity and outcome. The following operations show both the persistence and the capability of autonomous AI agents.

Persistence against a hardened target

The most extensive operation targeted a Redis (remote dictionary server) instance at one university that was configured to allow access without authentication. Redis is a database that keeps frequently used data in memory so applications can retrieve it quickly, which can make it a valuable foothold inside a network. Over roughly 16 hours and 148 sequential actions, the agents worked through a long list of known techniques for taking control of an open Redis server. These included abusing Redis’s replication feature to load unauthorized code, escaping its scripting sandbox, writing to its configuration files, and corrupting its memory. The agents also attempted Log4Shell injection against another service running on the same system.

When those attempts failed, the agents mapped the internal Docker network topology through a server-side request forgery (SSRF) vulnerability in a co-located Qdrant instance and launched credential sprays against PostgreSQL, SSH, and several other services. None of these attempts succeeded.

A separate operation ran for more than 6 hours and targeted a university GPU server, which is a group of high-performance computers built for computing-intensive research. The agents first built a list of about 80 real usernames by researching the university’s public presence, including faculty directories, lab websites, archived web pages, and academic papers. Then, they tested more than 30,000 credential combinations against the server’s remote login (SSH), and, on other systems across the university network, an admin dashboard, a network storage device, a VPN server, and the university’s campus portal. They never found a working login.

Neither operation succeeded, yet together they show that the agents kept adapting for nearly a full day without human direction.

Zero-day discovery

Against a target running an open-source medical imaging AI application, the outcome was different. The agents identified the application’s framework, mapped its API endpoints, and found an upload endpoint with a filename parameter. They tested that parameter for path traversal, and the parameter was vulnerable. In about 11 minutes, the agents went from mapping the application’s API to arbitrarily writing files on the server.

In a later session, the agents used the same vulnerability to write a Python reverse shell payload to sitecustomize.py, a file Python automatically imports at interpreter startup. The agents then triggered a training API endpoint to spawn a new Python process. The new process imported the payload and established a reverse shell running as root.

At the time of discovery, this path traversal vulnerability in the medical imaging application did not correspond to any assigned security advisory and was unpatched. Amazon Threat Intelligence assesses with high confidence that it was a zero-day based on the absence of any corresponding fix, issue, advisory, or prior mention in vulnerability databases for the affected open-source project.

Subsequent use

In another session, the threat actor stepped in. After the agents discovered the zero-day, the actor then provided the agents with a proxy that tunneled into a second university network. The server that the proxy connected to was running the same vulnerable software, and we infer the actor had used the zero-day to compromise it and establish the tunnel. The actor directed the agents to use the tunnel to target other machines in that network.

Attribution

Amazon Threat Intelligence assesses with moderate confidence that this is a Chinese-nexus threat actor based on the Simplified Chinese prompts, the China Standard Time script timestamps, and the targeting of universities likely of strategic interest to China.

Actions taken by AWS

Amazon Threat Intelligence notified the project’s maintainers of the vulnerability, and they released a fix and a GitHub Security Advisory.

The affected organizations were non-AWS customers that AWS had no direct path to notify. Instead, AWS worked with a government partner to notify the organizations about the activity.

Adoption is growing

Gambit Security was one of the first organizations in the industry to document the use of Cairn by a threat group. Its research describes a separate, financially motivated actor using Cairn to target online retailers. Together, these cases show that this autonomous AI agent framework is being adopted in both espionage and criminal operations. Additional details are available in Gambit Security’s report.

What this means for defenders

The operational tempo in these cases compresses the window available for defensive response. An agent that discovers and exploits a zero-day in minutes completes its activity faster than many security operations centers can manually triage an alert. The agents that failed against the hardened Redis target ran continuously for 16 hours without breaks, sleep, or working-hour constraints. To keep pace, organizations should prioritize high-confidence detections that trigger automated response, with humans overseeing outcomes rather than reviewing every individual action.

Behind the scenes, AWS active defense systems use global honeypots (decoy systems that attract threat actors) and network traffic analysis to identify actors that are scanning for vulnerable systems, and then help restrict that activity at the network level. These protections are built into the AWS network at no extra cost to customers.

Indicators of compromise

The following addresses appear in records dated September 8 to 10, 2026.

142[.]4.98.145

142[.]4.107.34

If you have questions about this post, contact AWS Support or start a new thread on AWS re:Post.


CJ Moses

CJ Moses

CJ Moses is the CISO of Amazon Integrated Security. In his role, CJ leads security engineering and operations across Amazon. His mission is to enable Amazon businesses by making the benefits of security the path of least resistance. CJ joined Amazon in December 2007, holding various roles including Consumer CISO, and most recently AWS CISO, before becoming CISO of Amazon Integrated Security September of 2023.

Prior to joining Amazon, CJ led the technical analysis of computer and network intrusion efforts at the Federal Bureau of Investigation’s Cyber Division. CJ also served as a Special Agent with the Air Force Office of Special Investigations (AFOSI). CJ led several computer intrusion investigations seen as foundational to the security industry today.

CJ holds degrees in Computer Science and Criminal Justice, and is an active SRO GT America GT2 race car driver.

[$] Bringing the Agama installer to openSUSE Tumbleweed

Post Syndicated from jzb original https://lwn.net/Articles/1107830/

The openSUSE Project has been working on
the Agama installer for four
years; it was the default installer for openSUSE Leap 16.0 when
it was released in 2025, and has been adopted by other openSUSE flavors as
well. Now the project is gearing up to go all-in on Agama for Tumbleweed, the rolling-release
edition that is meant to be where updates and new features land first. Even so,
the community has concerns about losing some of YaST’s legacy functionality and
the impact on installing Tumbleweed on systems that have less RAM.

Beyls: Wrapping up LLVM’s relicensing effort

Post Syndicated from jzb original https://lwn.net/Articles/1108818/

Kristof Beyls has published
a summary
to the LLVM discussion forum to announce that the project is
declaring success and bringing its relicensing
effort
to a close after eight years.

We’ve been asking past contributors to relicense their work since 2018. New
contributions have come in under Apache-2.0 WITH LLVM-exception since January
19, 2019. Code contributed before that date was under LLVM’s earlier licenses
(UIUC/NCSA, plus MIT for some runtime libraries), so we needed permission from
its authors to move it over. […]

Today, more than 99.5% of all lines of code ever contributed to LLVM are
either covered by the new license, too small for copyright to apply, or no
longer in the repository.

Rather than trying to “chase the last tiny fraction forever” LLVM is
winding up the effort. Any contributors with code contributed before January 19,
2019 who have not signed a relicensing agreement and do not want their
contributions made available under Apache-2.0 with the LLVM-exception can still
reach out to the project to ensure their code has the appropriate SPDX license
identifier.

Vim Classic 8.3.1 released

Post Syndicated from jzb original https://lwn.net/Articles/1108817/

Version
8.3.1
of Vim Classic—a
long-term support fork of Vim maintained without LLM assistance—has been
released.

This release includes applicable Vim patches up to Vim 8.2.3237, including
numerous bug fixes, minor features, and compatibility improvements for Vim
plugins. This release also removes Python 2 support from Vim Classic.

The full list
of changes
in this release is available on sourcehut.

Bringing AI education to 300,000 young people across Canada

Post Syndicated from Anna Burton original https://www.raspberrypi.org/blog/bringing-ai-education-to-300000-young-people-across-canada/

We’re pleased to share that we will expand Experience AI across Canada to train 7,000 educators who will reach an estimated 300,000 young people across the country by 2028. This is made possible through our partnerships with Canadian education organisations Actua and Digital Moment, and generously supported by $2 million in funding from Google.org.

Educators in the classroom, training with Experience AI (Digital Moment)

Together with Actua and Digital Moments, we will help young people across Canada develop a foundational understanding of AI technologies, their social and ethical implications, and the role that AI can play in their lives.

AI literacy for young people worldwide through Experience AI

Everyday activities such as finding information, working, and solving problems are now linked with AI systems at many points. We think that all young people need more than access to AI tools and the ability to use them: they need the knowledge, skills, and confidence to understand how AI works, to think critically about its use and impact, and to create their own AI-based solutions.

Experience AI, developed in partnership with Google DeepMind, is a free educational programme that helps teachers and students learn about artificial intelligence (AI). It introduces young people to how AI systems work and how they are used in everyday contexts through lessons, classroom resources, and hands-on activities. The resources give young people opportunities to think critically about the role of AI in society.

We bring AI literacy to young people across the world with Experience AI by building trusted partnerships with local organisations that lead sustainable delivery of the programme in ways that suit their contexts. Through this global network of over 40 Experience AI partners, we have trained over 63,000 educators who can reach an estimated 6 million young people. Today, Experience AI resources are used in over 195 countries and available in over 22 languages and localised versions.

In 2025, in recognition of its global impact, Experience AI was named a laureate of the UNESCO King Hamad Bin Isa Al-Khalifa Prize for the Use of ICT in Education.

Reaching communities across Canada through partnerships

Canada, the second largest country in the world by area, is home to a diverse range of communities, languages, and educational settings. Working to make AI education accessible to all young people across such a vast country means supporting these differences by working with local partners who understand the needs of their communities.

4 educators round a table in the classroom

In 2023 we tested the Experience AI training with Canadian teachers, already in partnership with Digital Moment. Through this training we reached 500 educators and an estimated 56,000 young people. 

In this new phase of bringing Experience AI to Canada, we’re delighted to build on our relationship with Digital Moment, and to develop a new partnership with Actua. Both organisations have extensive experience of delivering STEM, digital skills, and AI education initiatives to Canadian classrooms and communities. Together we will support thousands of Canadian teachers with free training, resources, and support that will enable them to bring high-quality AI education to the young people in their classrooms.

Indra Kubicek, CEO of Digital Moment, shared:

“We’re excited to continue our partnership with the Raspberry Pi Foundation and build on our experience bringing Experience AI to educators across Canada. Together, we have an opportunity to expand access to trusted, practical classroom resources that give educators the knowledge and confidence to help young people understand AI, think critically about its impact, and make informed choices about its role in their lives. We look forward to reaching more educators and students across Canada and helping build a strong foundation for AI literacy that puts people, learning, and human values at the centre.”

Jennifer Flanagan, CEO of Actua, explained:

“For more than 25 years, Actua has helped tens of thousands of educators and millions of young Canadians build the skills and confidence to navigate a changing world. AI is changing that world faster than ever, and we need to make sure teachers and students are prepared. Through Experience AI, we’re helping educators bring AI literacy into their classrooms and give youth the knowledge to understand this technology, the confidence to question it, and the skills to help shape its future.”

Helping young people shape their digital future

All young people need opportunities to develop the skills, knowledge, and confidence to navigate and shape a world where AI technologies are widely used. With support from Google.org and in partnership with Actua and Digital Moment, we’re excited to make AI education accessible to more young people across Canada.

Classroom of educators training with Experience AI

Explore Experience AI and discover the free educational resources at experience-ai.org.

The post Bringing AI education to 300,000 young people across Canada appeared first on Raspberry Pi Foundation.

Security updates for Friday

Post Syndicated from jzb original https://lwn.net/Articles/1108811/

Security updates have been issued by AlmaLinux (bind9.18, bubblewrap, fence-agents, freerdp, grafana, grafana-pcp, gstreamer1-plugins-bad-free, jackson-core, jackson-databind, java-17-openjdk, java-21-openjdk, java-25-openjdk, kernel, kernel-rt, mysql8.4, mysql:8.4, qt5-qtbase, qt5-qtdeclarative, raptor2, resteasy, and sos), Debian (electrum, nginx, openjdk-17, pam-mysql, php8.2, and php8.4), Fedora (aws, bind9-next, blender, c-ares, composer, dr_libs, et, gh, incron, libaec, libfontenc, libXfont2, mtools, nebula, perl-Imager, perl-Text-JSCalendar, perl-Text-JSContact, php, python-loguru, python3.6, qpid-proton, roundcubemail, runc, and xen), Gentoo (nginx, PHP, and Ruby), Mageia (hplip), Oracle (.NET 10.0, .NET 11.0, .NET 8.0, .NET 9.0, bubblewrap, emacs, firefox, flatpak-builder, gcc, gimp, glibc, grafana, grafana-pcp, gstreamer1, gvfs, java-1.8.0-openjdk, java-17-openjdk, java-21-openjdk, java-25-openjdk, libssh2, mod_http2, perl-CGI, perl-DBI, perl-DBI:1.641, python3.9, rpm, squid, tesseract, thunderbird, tigervnc, util-linux, webkit2gtk3, and xdg-dbus-proxy), Red Hat (compat-openssl10, kernel, nginx, nginx:1.24, nginx:1.26, nodejs22, nodejs:22, openssl, python-urllib3, python3.12-urllib3, qt5-qtbase, and qt6-qtbase), Slackware (gnutls, perl, and php), SUSE (cifs-utils, elemental-operator, elemental-system-agent, elemental- toolkit, haproxy, java-11-openjdk, kernel, libXi, python-M2Crypto, python-oauthlib, rekor, and xen), and Ubuntu (kernel, linux, linux-aws, linux-aws-5.4, linux-azure, linux-bluefield, linux-fips, linux-gcp, linux-gcp-5.4, linux-gcp-fips, linux-hwe-5.4, linux-ibm, linux-ibm-5.4, linux-iot, linux-kvm, linux-oracle, linux-raspi, linux-raspi-5.4, linux-xilinx-zynqmp, linux, linux-aws, linux-aws-fips, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-azure-fips, linux-fips, linux-gcp, linux-gcp-4.15, linux-gcp-fips, linux-hwe, linux-kvm, linux-oracle, linux, linux-aws, linux-aws-fips, linux-gcp, linux-gcp-6.8, linux-gke, linux-gkeop, linux-ibm, linux-ibm-6.8, linux-oracle-6.8, linux-vmware, linux, linux-aws, linux-fips, linux-kvm, linux-lts-xenial, linux, linux-aws, linux-gcp, linux-gcp-5.15, linux-gke, linux-gkeop, linux-ibm, linux-ibm-5.15, linux-oracle, linux, linux-aws, linux-gcp, linux-gcp-7.0, linux-gke, linux-ibm, linux-oem-7.0, linux-vmware, linux-aws-5.15, linux-aws-fips, linux-aws-fips, linux-kvm, linux-fips, linux-gcp-fips, linux-gcp-fips, linux-oracle, nginx, openjdk-17-crac, openjdk-21-crac, openjdk-25-crac, openjdk-8, pyjwt, and ruby3.3, ruby3.2, ruby3.0).

Йотова, Йотова, обади се!

Post Syndicated from Емилия Милчева original https://www.toest.bg/yotova-yotova-obadi-se/

Йотова, Йотова, обади се!

Има ли България президент на борда? Да произнесе слово на поклонението на Вежди Рашидов, да връчи отличия на офицери и да поздрави Сухопътните войски за празника им би могъл и актьор, повикан по заместване. 

Илияна Йотова спечели балотажа, за да върши същото. Когато е наложително да каже нещо извън протокола, настъпва антракт.

Йотова ли спечели, или Гюров загуби?

На президентския балотаж страхът от война победи обещанието за промяна. Емилия Милчева анализира как управляващите превърнаха мира в предизборно оръжие, защо Андрей Гюров не успя да наложи собствен дневен ред и какво политическо бъдеще очаква двамата кандидати след изборите.

От президента се очаква да задава на управляващите въпроси, които те предпочитат да подминат. За тази цел има вето, но понякога е достатъчно да вземе думата, докато решението още може да се промени. Йотова имаше такъв повод още в първите дни след балотажа, когато депутати от управляващата „Прогресивна България“ предложиха да орежат трудовите права за личните асистенти в Закона за личната помощ.

Мълча за майките

Миналата година Йотова имаше да каже доста повече. Като вицепрезидент тя обвини кабинета „Желязков“, че прокарва бюджета за 2026 г. без диалог и с „безпрецедентно арогантно отношение на властта“. И Георги Първанов навремето се намеси в дебата за бюджет 2005. Той предупреди, че може да наложи вето заради текстове, които променят правилата за интеграция на хората с увреждания. 

През 2020 г., когато изведоха майките от „Системата ни убива“ от парламента, Йотова попита защо председателката на 44-тото Народно събрание Цвета Караянчева не е отишла да разговаря с тях. Тя каза тогава, че на „Дондуков“ 2 гражданите могат да се срещнат с нея всеки ден. 

Шест години по-късно въпросът ѝ към Караянчева става въпрос към самата нея.

Проектът предвиждаше трудовите договори на личните асистенти да бъдат заменени с друг вид договори, да отпадне добавката за прослужено време, а заплащането им вече да не е обвързано с минималната заплата. За майките, които са лични асистенти на децата си, това означаваше да загубят трудови права именно за работата, която им позволява да се грижат за тях. Цинично прозвуча и коментарът от „Прогресивна България“, че така им освобождават възможност да работят на още едно място.

Майките обявиха готовност за протест и на 13 ноември, три дни след внасянето на проекта, управляващите го оттеглиха. През тези три дни от „Дондуков“ 2 не се чу нито една дума от първата жена, заела президентския пост, а също майка и баба.

Имаме си президентка. Съвсем

Светла Енчева коментира избора на първата жена президент на България. Йотова дължи възможността да заеме този пост на борбата за равноправие, но не е защитавала особено правата на жените. А след 10 години в сянката на Румен Радев тепърва ще трябва да доказва политическата си самостоятелност.

Съвсем различна беше Йотова по време на кампанията. „Първата ни задача е да се погрижим за най-бедните и уязвимите“, каза тя в Перник шест дни преди първия тур. 

За личната помощ Йотова замълча, а преди това замълча и за смъртта по пътищата. Единственото, което направи след тежката верижна катастрофа на магистрала „Тракия“, в която живота си загубиха 13 души, а десетки пострадаха, беше да прекъсне участието си в Парижкия форум за мир и да изрази съболезнования. 

Какво поиска от институциите, които отговарят за безопасността по пътищата? Нищо – защото за това се иска да заемеш позиция, но изглежда, че Илияна Йотова не се осмелява да надигне глас пред управляващите от партия „Прогресивна България“, подкрепила я за президентския пост. 

Проговори за кратко

На 16 ноември в Пномпен, където представляваше България на Срещата на върха на франкофонията, Йотова представи изводите от дискусия за предотвратяването и уреждането на конфликти. Същия ден в българската изключителна икономическа зона беше ударен товарният кораб BETUL 8, пълен с украинска пшеница, а след него и газовоз. От „Демократична България“ преброиха седем потопени плавателни съда в изключителната икономическа зона на България и настояха Йотова да свика Консултативния съвет за национална сигурност (КСНС). 

Патриоти за мъртвите – страхливци за живите

Два кораба потънаха край България, а на повърхността изплува фактът, че пак не знаем какво е станало. Докато институциите внимателно подбират условното наклонение и каканижат с „да биха били…, щяхме и ние…“, миналото напомня, че руските следи у нас не са нито нови, нито малко. От Емилия Милчева.

След честването на празника на Сухопътните войски край Гургулят на 19 ноември Йотова обясни пред журналисти защо няма да свика отново КСНС за Черно море. Според нея първо трябва да се изпълнят решенията от заседанието на 7 октомври. Като свършена работа тя посочи срещата на министрите на отбраната на България, Румъния и Турция и изтъкна дейността на общата противоминна група, чиито задачи вече включват и спасителни операции. 

За останалите мерки Йотова каза, че очаква правителството и парламентарното мнозинство да ги изпълнят в следващите дни. Готова е да изслуша мотивите на опозицията, но досега е чула призива ѝ само през медиите и не е получила официално писмо.

В същия ден и премиерът Румен Радев призова шестте черноморски държави да се договорят за спиране на атаките срещу цивилни кораби. Йотова отиде по-далеч и заговори за мораториум върху бойните действия в целия басейн. А как България ще пази корабите дотогава? Няма как, разбра се от отговора на министър-председателя:

И аз искам да унищожаваме дроновете, но няма как към момента по чисто военнотехнически причини.

След като в изборната нощ президентката каза, че българите са избрали мира, можеше от висотата на позицията си да попита какво става с разследването за произхода на дроновете. Защото дори руският президент Путин призна, че Кремъл стои зад атаките с безпилотни летателни апарати, но не и българските управляващи.

Те започнаха да удрят нашите танкери в Черно море. В отговор, както всички знаят, ние започнахме да действаме по същия начин. 

Попитана как евентуални доказателства за руски произход на дроновете биха се отразили на отношенията с Москва, Йотова обясни, че според нея Русия не се опитва да превърне България в част от войната. Тези разсъждения не носят особена полза на екипажите, които трябва да знаят кой се грижи за тяхната сигурност при плаването през вътрешното море. Черно море вече е опасен търговски маршрут, а през неговите пристанища минава около 14% от зърното, превозвано по море в света, по оценка на международната корабоплавателна асоциация BIMCO от август 2026 г. 

Страдателният залог на генерал-премиера

„Онзи-който-не-бива-да-се-назовава“ продължава да потапя кораби в Черно море. Междувременно Румъния сваля дронове и укрепва отбраната си, а ние търсим доказателства и призоваваме безадресно за мораториуми. Колко струва снишаването, когато войната вече е на брега ни? От Емилия Милчева.

Ами Комисията по досиетата?

За КСНС за ударите в Черно море Йотова каза, че не е получила официално писмо. По друг въпрос обаче президентката е сред адресатите на отворено писмо. Над сто общественици поискаха от премиера Румен Радев да оттегли проекта за закриване на Комисията по досиетата и изпратиха копие до Йотова и до председателката на Народното събрание. А над 4500 души са подписали онлайн петицията със същото искане. 

Проектът прехвърля функциите на Комисията към Държавна агенция „Архиви“. Сред публикуваните становища от общественото обсъждане няма нито едно в подкрепа на закриването. Къде стои президентката по въпроса? Може да вземе думата още сега, докато има шанс проектът да бъде оттеглен. Но тя е избрала сурово да мълчи.

Проектът за закриване на Комисията по досиетата тръгна от параграф 8 на бюджет 2026, който Йотова обнародва през юли. Това е обяснение за мълчанието, защото на практика е съучаствала в затварянето на архивите на бившите тайни служби. 

Когато парламентът приеме бюджет 2027, Йотова ще трябва да реши дали да подпише указа за обнародването му, или да го върне за ново обсъждане. От ГЕРБ вече предупредиха, че ще поискат вето, ако държавните разходи за догодина бъдат приети в този си вид. 

От юли България е в процедура при прекомерен дефицит, а в бюджет 2027 кабинетът на Радев залага дефицит от 4,2% от БВП на начислена основа и иска да поеме до 8,6 млрд. евро нов дълг. Това означава, че държавата планира бюджетен дефицит над допустимите по европейските правила 3% от БВП, въпреки че вече е под наблюдението на Европейската комисия и трябва да предприема мерки за ограничаването му. През 2013 г. президентът Росен Плевнелиев върна текстове от актуализацията на бюджета и поиска кабинетът „Орешарски“ да каже за какво ще похарчи новия дълг. 

От обяснения на вицепремиера и министър на финансите Гълъб Донев стана ясно, че около 2,1 млрд. евро са нужни за погасяване на стари задължения с настъпващ падеж. Йотова има какво да попита кабинета на Радев – за какво е предвиден останалият ресурс в година на местни избори. 

По какви критерии кабинетът ще определя кои общински проекти да финансира и кога да плати по тях? Отговорът на този въпрос се чака от регионалния министър Иван Шишков, чието министерство ще разполага с 2,51 млрд. евро, а проектите (и кметовете) се пресяват чрез обиколките по инициативата „Регионите говорят“.

Пак по време на кампанията Илияна Йотова говореше за „синхрон между институциите и за взаимен коректив“. Тя е избрала да бъде президентският статист на Радев.

На 31 декември микрофонът ще е неин. Дотогава може да зададе поне един въпрос на управляващите.

Холи Бери е в менопауза. И сега какво?

Post Syndicated from Надежда Цекулова original https://www.toest.bg/halle-berry-e-v-menopauza-i-sega-kakvo/

/* ==========================================================================
„Анатомия на пола: Менопауза“ — ефекти при скрол за ТАЗИ статия
Зарежда се в началото на статията (Post → Code injection → Header).
Работи заедно с menopause.js. Не пипа стиловете на темата: всичко е
закачено за data-fx атрибути и класове с префикс mx-.
========================================================================== */
:root{
/* „топлина“ палитра на проекта */
–mx-red:#dc1010; –mx-lime:#c2d910; –mx-amber:#ecb716;
–mx-teal:#0e8da3; –mx-blue:#042da6; –mx-maroon:#600202;
–mx-ink:var(–black, hsl(220,5%,12%));
–mx-mute:var(–grey, hsl(210,3%,63%));
}
/* ———- лента за четене: същата на темата,
но с топлинен градиент вместо акцентния цвят ———- */
.post-progress[value]::-webkit-progress-value{
background:linear-gradient(90deg,var(–mx-blue),var(–mx-teal),var(–mx-lime),var(–mx-amber),var(–mx-red),var(–mx-maroon));
background-size:100vw 100%;
}
.post-progress[value]::-moz-progress-bar{
background:linear-gradient(90deg,var(–mx-blue),var(–mx-teal),var(–mx-lime),var(–mx-amber),var(–mx-red),var(–mx-maroon));
background-size:100vw 100%;
}
/* ———- общо ———- */
.mx-w,.mx-l{display:inline-block}
.mx-show [data-fx]{outline:2px dashed var(–mx-teal);outline-offset:3px;background:rgba(14,141,163,.08)}
/* ———- data-fx=”pop”: думите подскачат една по една ———- */
.mx-js [data-fx=”pop”] .mx-w{transform-origin:50% 80%}
.mx-js [data-fx=”pop”].mx-in .mx-w{animation:mx-pop .8s cubic-bezier(.3,1.7,.5,1) both;animation-delay:calc(var(–i)*.14s)}
@keyframes mx-pop{
0%{transform:translateY(0) scale(1)}
40%{transform:translateY(-.4em) scale(1.4);color:var(–mx-red)}
100%{transform:none}
}
/* ———- data-fx=”not”: от нормален към най-дебелия шрифт ———-
(Snaga има отделно семейство за всяко тегло, затова тук се сменят семействата) */
[data-fx=”not”]{font-family:’SnagaText-Regular’,sans-serif}
.mx-js [data-fx=”not”][data-w=”1″]{font-family:’SnagaText-Medium’,sans-serif}
.mx-js [data-fx=”not”][data-w=”2″]{font-family:’SnagaText-Semibold’,sans-serif}
.mx-js [data-fx=”not”][data-w=”3″]{font-family:’SnagaText-Black’,sans-serif}
/* ———- data-fx=”blur”: размазано → рязко, вързано за скрола ———- */
.mx-js [data-fx=”blur”] .mx-w{filter:blur(calc(var(–b,1)*9px));opacity:calc(1 – var(–b,1)*.5);will-change:filter}
/* ———- data-fx=”reveal”: думите се проявяват, накрая жълт маркер ———-
Маркерът е вътрешен около думите, които да се подчертаят */
.mx-js [data-fx=”reveal”] .mx-w{color:var(–mx-mute);transition:color .35s}
.mx-js [data-fx=”reveal”] .mx-w.mx-on{color:var(–mx-ink)}
.mx-js [data-fx=”reveal”] .mx-mk{background:linear-gradient(var(–mx-amber),var(–mx-amber)) no-repeat 0 90%/0 42%;transition:background-size .7s ease-out}
.mx-js [data-fx=”reveal”] .mx-mk.mx-hot{background-size:100% 42%}
/* ———- data-fx=”grow”: уголемява се докато скролваш ———- */
/* Оформлението е винаги в крайния размер (1.9×), а при скрол само се мащабира с transform.
Така редовете се пренасят еднакво и текстът под него не скача. */
[data-fx=”grow”]{display:block;font-size:1.9em;line-height:1.2;margin-bottom:.2em;transform-origin:0 0;transform:scale(calc(.526 + var(–p,0)*.474))}
/* ———- data-fx=”scatter”: думата „избухва“ в букви ———- */
[data-fx=”scatter”]{position:relative;display:inline-block}
.mx-js [data-fx=”scatter”].mx-in{animation:mx-blast .7s cubic-bezier(.3,1.6,.5,1)}
@keyframes mx-blast{0%{transform:scale(1)}30%{transform:scale(1.3);color:var(–mx-red)}100%{transform:scale(1)}}
.mx-pt{position:absolute;top:50%;z-index:5;line-height:1;white-space:nowrap;pointer-events:none;opacity:0}
/* ———- data-fx=”boldup”: удебелява се докато скролваш ———- */
[data-fx=”boldup”]{-webkit-text-stroke:calc(var(–p,0)*.055em) currentColor}
/* ———- data-fx=”shimmer”: топлинен спектър минава през думата ———- */
[data-fx=”shimmer”]{
/* черно → топлинна лента → черно: лентата минава през думата и тя остава черна */
background:linear-gradient(100deg,var(–mx-ink) 0 30%,var(–mx-blue) 35%,var(–mx-teal) 41%,var(–mx-lime) 47%,var(–mx-amber) 53%,var(–mx-red) 59%,var(–mx-maroon) 64%,var(–mx-ink) 70% 100%);
background-size:300% 100%;
background-position:calc(100% – var(–p,0)*100%) 0;
-webkit-background-clip:text;background-clip:text;
-webkit-text-fill-color:transparent;color:transparent;
}
/* ———- data-fx=”redsweep”: думите се оцветяват в червено една по една ———- */
[data-fx=”redsweep”] .mx-w{display:inline;transition:color .35s}
[data-fx=”redsweep”] .mx-w.mx-hot{color:var(–mx-red)}
/* ———- инфографика: точки + число (div.mx-ig) ———-
!important е нужен, защото темата задава font-size на .post-content p с !important на мобилен */
.mx-ig-wrap{margin:40px 0 44px}
.post-content .mx-ig-intro{font-size:14px!important;line-height:19px!important;margin:0 0 26px;color:hsl(230,5%,38%)}
.mx-ig{display:flex;gap:26px;align-items:center;margin-bottom:30px}
.mx-ig-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;width:190px;flex:none}
.mx-ig[data-total=”5″] .mx-ig-grid{grid-template-columns:repeat(5,13.6px);justify-content:start;align-content:center}
.mx-ig .mx-p{display:block;aspect-ratio:1/1;position:relative;border-radius:50%;overflow:hidden;background:hsl(210,3%,82%)}
.mx-ig .mx-p::after{content:””;position:absolute;inset:0;background:var(–c);clip-path:inset(0 calc(100% – var(–f,0%)) 0 0)}
.post-content .mx-ig-num{font-size:56px!important;line-height:1!important;margin:0 0 8px;color:var(–nc,var(–mx-ink))}
.post-content .mx-ig-lab{margin:0;max-width:300px}
.mx-ig-wrap figcaption{font-size:14px;line-height:19px;color:hsl(230,5%,38%)}
@media (max-width:600px){
.mx-ig{flex-direction:column;align-items:flex-start;gap:16px}
.post-content .mx-ig-num{font-size:52px!important}
}
/* ———- ако е включено „намалено движение“ (JS слага .mx-static): крайни състояния ———- */
.mx-static [data-fx=”not”]{font-family:’SnagaText-Black’,sans-serif}
.mx-static [data-fx=”shimmer”]{background-position:0 0}
.mx-static [data-fx=”reveal”] .mx-mk{background:linear-gradient(var(–mx-amber),var(–mx-amber)) no-repeat 0 90%/100% 42%}
.mx-static [data-fx=”grow”],.mx-static [data-fx=”boldup”]{–p:1}
.mx-static [data-fx=”redsweep”]{color:var(–mx-red)}

/* ==========================================================================
„Анатомия на пола: Менопауза“ — ефекти при скрол за ТАЗИ статия
Зарежда се в края на статията (Post → Code injection → Footer) или с defer.
Работи с menopause.css. Търси елементи с data-fx=”…” и .mx-ig в текста.
Ефектите се намират по ТЕКСТ (виж списъка FX вътре) — не е нужно HTML в параграфите.
Не променя нищо друго на страницата.
Ефекти (слагат се ръчно в HTML-а на статията):
data-fx=”pop” думите подскачат една по една при стигане до тях
data-fx=”not” от нормален към най-дебелия шрифт
data-fx=”blur” от размазано към рязко
data-fx=”reveal” думите се проявяват; получава жълт маркер
data-fx=”grow” уголемява се
data-fx=”scatter” думата „избухва“ в букви
data-fx=”boldup” удебелява се
data-fx=”shimmer” топлинен спектър минава през думата
data-fx=”redsweep” думите стават червени една по една
.mx-ig инфографика с точки (виж snippets.html)
========================================================================== */
(function(){
‘use strict’;
function init(){
var root = document.documentElement;
var reduce = window.matchMedia && window.matchMedia(‘(prefers-reduced-motion: reduce)’).matches;
function $$(s){ return Array.prototype.slice.call(document.querySelectorAll(s)); }
var HEAT = [‘#dc1010′,’#ecb716′,’#c2d910′,’#0e8da3′,’#042da6′,’#600202’];
var PAL = [[4,45,166],[14,141,163],[194,217,16],[236,183,22],[220,16,16],[96,2,2]];
function pal(x){
x = Math.min(1, Math.max(0, x)) * (PAL.length-1);
var i = Math.min(PAL.length-2, Math.floor(x)), f = x – i, a = PAL[i], b = PAL[i+1];
return ‘rgb(‘ + [0,1,2].map(function(k){ return Math.round(a[k] + (b[k]-a[k])*f); }).join(‘,’) + ‘)’;
}
/* ==========================================================================
КАКВО КЪДЕ СЕ СЛУЧВА — тук се определят ефектите, текстът в Ghost остава обикновен.
fx — ефектът (pop, not, blur, reveal, grow, scatter, boldup, shimmer, redsweep)
find — фразата в текста (интервалите са без значение)
wrap — по желание: само част от find да получи ефекта (напр. само „не“)
target — по желание: слагане върху целия елемент, напр. ‘h4′ (за reveal и redsweep)
mark — по желание, за reveal: част от find, която получава жълт маркер
Ако фраза не се намери, в конзолата излиза предупреждение „[mx] не е намерена“.
========================================================================== */
/* ЗАКЪСНЕНИЕ: колко по-късно да започват ефектите при скрол (0.12 = 12% от височината на екрана).
По-голямо число = ефектите се пускат, когато текстът е по-високо на екрана. 0 = без закъснение. */
var DELAY = .12;
var FX = [
{fx:’pop’, find:’слаби, красиви, млади и успешни’},
{fx:’not’, find:’изследванията не потвърдили’, wrap:’не’},
{fx:’blur’, find:’„просто остарявам“’},
{fx:’blur’, find:’„това се случва на всички жени“’},
{fx:’reveal’, find:’„И тази се опитва да ни продаде остаряването“’, target:’h4′, mark:’продаде остаряването’},
{fx:’grow’, find:’„Аз съм в менопауза“,’},
{fx:’scatter’, find:’избухна’},
{fx:’boldup’, find:’без изключение са част от маркетингова стратегия’},
{fx:’shimmer’, find:’лонджевити’},
{fx:’redsweep’, find:’окей, вече ни е социално разрешено да остаряваме, но само ако не ни личи.’, target:’h4′}
];
function escRe(s){ return s.replace(/[.*+?^${}()|[\]\\]/g, ‘\\$&’); }
function findRange(root, phrase){
var re = new RegExp(phrase.split(/\s+/).map(escRe).join(‘\\s+’));
var w = document.createTreeWalker(root, NodeFilter.SHOW_TEXT, {acceptNode:function(n){
var p = n.parentNode && n.parentNode.nodeName;
if(p === ‘SCRIPT’ || p === ‘STYLE’) return NodeFilter.FILTER_REJECT;
if(n.parentNode.closest && n.parentNode.closest(‘.mx-assets,[data-fx],.mx-ig-wrap’)) return NodeFilter.FILTER_REJECT;
return NodeFilter.FILTER_ACCEPT;
}});
var n;
while((n = w.nextNode())){
var m = re.exec(n.nodeValue);
if(m){ var r = document.createRange(); r.setStart(n, m.index); r.setEnd(n, m.index + m[0].length); return r; }
}
return null;
}
function wrapRange(r, attrs){
var span = document.createElement(‘span’);
Object.keys(attrs).forEach(function(k){ span.setAttribute(k, attrs[k]); });
r.surroundContents(span);
return span;
}
function autoFx(){
var root = document.querySelector(‘.post-content’) || document.body;
FX.forEach(function(spec){
var r = findRange(root, spec.find);
if(!r){ console.warn(‘[mx] не е намерена фраза:’, spec.find); return; }
if(spec.target){
var el = r.startContainer.parentNode.closest(spec.target);
if(!el){ console.warn(‘[mx] няма’, spec.target, ‘около:’, spec.find); return; }
if(spec.mark){
var mr = findRange(el, spec.mark);
if(mr) wrapRange(mr, {‘class’:’mx-mk’});
}
el.setAttribute(‘data-fx’, spec.fx);
return;
}
if(spec.wrap){
var rel = new RegExp(escRe(spec.wrap));
var txt = r.toString(), at = txt.search(rel);
if(at 10 ? 0 : .62);
var to = el.hasAttribute(‘data-heat-to’) ? +el.getAttribute(‘data-heat-to’) : (total > 10 ? 1 : from + .1*(total-1));
for(var i=0;i 1 ? i/(total-1) : 0));
f.style.setProperty(‘–c’, f._col);
grid.appendChild(f); figs.push(f);
}
return {el:el, total:total, target:target, figs:figs, val:el.querySelector(‘.mx-ig-val’), fmt:el.getAttribute(‘data-fmt’) || ‘int’, top:0, a:.85 – DELAY, b:.4 – DELAY};
});
function applyIG(o, p){
var k = o.target * p;
o.figs.forEach(function(f, j){
var part = o.total 0 ? 1 : 0) : Math.min(1, Math.max(0, k – j)); // малките редове (1 от 5) се пълнят цели
var s = (part * 100).toFixed(0) + ‘%’;
if(f._s !== s){ f.style.setProperty(‘–f’, s); f._s = s; }
});
var last = o.figs[Math.max(0, Math.ceil(k) – 1)];
o.el.style.setProperty(‘–nc’, last ? last._col : ‘inherit’);
if(o.val) o.val.textContent = o.fmt === ‘dec’ ? k.toFixed(1).replace(‘.’, ‘,’) : String(Math.round(k));
}
/* ———- без анимации ———- */
if(reduce){
root.classList.add(‘mx-static’);
igs.forEach(function(o){ applyIG(o, 1); });
return;
}
root.classList.add(‘mx-js’);
$$(‘[data-fx=”pop”],[data-fx=”blur”]’).forEach(function(el){ splitDeep(el, {i:0}); });
/* ———- 1) еднократни: pop ———- */
var io = new IntersectionObserver(function(entries){
entries.forEach(function(en){
if(en.isIntersecting) en.target.classList.add(‘mx-in’);
else en.target.classList.remove(‘mx-in’); // пуска се пак при следващо стигане
});
}, {rootMargin:’-10% 0px -‘ + Math.round(28 + DELAY*100) + ‘% 0px’, threshold:0});
$$(‘[data-fx=”pop”]’).forEach(function(e){ io.observe(e); });
/* ———- 2) избухване ———- */
var bursts = $$(‘[data-fx=”scatter”]’);
var ALPHA = ‘абвгдежзиклмнопрстуфхцчшюяАБВГДЕЖЗИКЛМНОПРСТ’;
function burst(el){
el.classList.add(‘mx-in’);
var word = el.textContent.replace(/\s/g,”), n = 44;
var spread = Math.min(1, window.innerWidth/900);
for(var i=0;i<n;i++){
var s = document.createElement('span'); s.className = 'mx-pt';
s.textContent = Math.random() < .5 ? word.charAt(Math.floor(Math.random()*word.length)) : ALPHA.charAt(Math.floor(Math.random()*ALPHA.length));
s.style.left = (Math.random()*100) + '%';
s.style.fontSize = (.8 + Math.random()*1.5).toFixed(2) + 'em';
s.style.color = HEAT[Math.floor(Math.random()*HEAT.length)];
el.appendChild(s);
var a = Math.random()*Math.PI*2, d = (70 + Math.random()*170)*spread;
var dx = Math.cos(a)*d*1.35, dy = Math.sin(a)*d*.85, rot = Math.round(Math.random()*240 – 120);
var anim = s.animate([
{transform:'translate(-50%,-50%) scale(.2) rotate(0deg)', opacity:0},
{transform:'translate(calc(-50% + '+(dx*.35).toFixed(0)+'px),calc(-50% + '+(dy*.35).toFixed(0)+'px)) scale(1.1) rotate('+(rot*.4)+'deg)', opacity:1, offset:.18},
{transform:'translate(calc(-50% + '+dx.toFixed(0)+'px),calc(-50% + '+dy.toFixed(0)+'px)) scale(.9) rotate('+rot+'deg)', opacity:0}
], {duration:1000 + Math.random()*900, delay:Math.random()*140, easing:'cubic-bezier(.12,.75,.3,1)', fill:'forwards'});
anim.onfinish = (function(node){ return function(){ node.remove(); }; })(s);
}
}
var ioB = new IntersectionObserver(function(entries){
entries.forEach(function(en){
var el = en.target;
if(en.isIntersecting){
if(el._armed === false) return;
el._armed = false;
setTimeout(function(){ burst(el); }, 450);
} else { el._armed = true; el.classList.remove('mx-in'); }
});
}, {rootMargin:'-32% 0px -' + Math.round(32 + DELAY*100) + '% 0px', threshold:0});
bursts.forEach(function(e){ ioB.observe(e); });
/* ———- 3) вързани за скрола ———- */
var cfg = { grow:[.85,.45], boldup:[.85,.45], redsweep:[.85,.4], blur:[.95,.5], not:[.85,.5], shimmer:[.9,.3], reveal:[.85,.45] };
var linked = $$('[data-fx="grow"],[data-fx="boldup"],[data-fx="shimmer"],[data-fx="redsweep"],[data-fx="blur"],[data-fx="not"],[data-fx="reveal"]').map(function(el){
var type = el.getAttribute('data-fx'), o = {el:el, type:type, a:cfg[type][0] – DELAY, b:cfg[type][1] – DELAY, top:0, last:-1};
if(type === 'redsweep'){ o.n = splitDeep(el, {i:0}); o.words = Array.prototype.slice.call(el.querySelectorAll('.mx-w')); }
if(type === 'reveal'){ o.n = splitDeep(el, {i:0}); o.words = Array.prototype.slice.call(el.querySelectorAll('.mx-w')); o.mk = el.querySelector('.mx-mk'); }
if(type === 'blur'){ o.words = Array.prototype.slice.call(el.querySelectorAll('.mx-w')); o.n = o.words.length; }
return o;
});
function ease(p){ return p*p*(3-2*p); }
function apply(o, p){
if(o.type === 'reveal'){
var kr = Math.round(p*o.n);
if(kr !== o.last){ o.words.forEach(function(w,i){ w.classList.toggle('mx-on', i = .98);
} else if(o.type === ‘redsweep’){
var k = Math.round(p*o.n);
if(k !== o.last){ o.words.forEach(function(w,i){ w.classList.toggle(‘mx-hot’, i < k); }); o.last = k; }
} else if(o.type === 'blur'){
var spread = .6;
o.words.forEach(function(w,i){
var q = Math.min(1, Math.max(0, p*(1+spread) – (i/Math.max(1,o.n-1))*spread));
w.style.setProperty('–b', (1-ease(q)).toFixed(3));
});
} else if(o.type === 'not'){
var s = p < .25 ? 0 : p < .5 ? 1 : p < .75 ? 2 : 3;
if(s !== o.last){ o.el.setAttribute('data-w', s); o.last = s; }
} else {
o.el.style.setProperty('–p', ease(p).toFixed(4));
}
}
function measure(){
// позицията се мери при изключен ефект, за да няма обратна връзка с layout-а
linked.forEach(function(o){
if(o.type==='not'){ o.el.setAttribute('data-w',0); o.last=0; }
else if(o.type==='blur'){ o.words.forEach(function(w){ w.style.setProperty('–b',1); }); }
else if(o.type!=='redsweep' && o.type!=='reveal'){ o.el.style.setProperty('–p', 0); }
});
linked.forEach(function(o){ o.top = o.el.getBoundingClientRect().top + window.scrollY; });
igs.forEach(function(o){ o.top = o.el.getBoundingClientRect().top + window.scrollY; });
update();
}
function update(){
var vh = window.innerHeight, y = window.scrollY;
linked.forEach(function(o){
apply(o, Math.min(1, Math.max(0, (y + vh*o.a – o.top) / (vh*(o.a-o.b)))));
});
igs.forEach(function(o){
applyIG(o, Math.min(1, Math.max(0, (y + vh*o.a – o.top) / (vh*(o.a-o.b)))));
});
}
var tick = false;
window.addEventListener('scroll', function(){ if(tick) return; tick = true; requestAnimationFrame(function(){ tick = false; update(); }); }, {passive:true});
window.addEventListener('resize', measure);
window.addEventListener('load', measure);
measure();
/* помощни функции за преглед/тест */
window.mxShow = function(on){ root.classList.toggle('mx-show', !!on); };
window.mxReplay = function(){
$$('[data-fx].mx-in').forEach(function(e){ e.classList.remove('mx-in'); });
window.scrollTo({top:0, behavior:'smooth'});
setTimeout(function(){ bursts.forEach(function(e){ e._armed = true; }); }, 700);
};
}
if(document.readyState === 'loading') document.addEventListener('DOMContentLoaded', init);
else init();
})();


Холи Бери е в менопауза. И сега какво?

Всички жени, които говорят публично за менопаузата, изглеждат слаби, красиви, млади и успешни. Или поне аз само такива намерих. Това със сигурност е добра стратегия за „ребрандиране“ на менопаузата (фразата е на Холи Бери, за нея – малко по-долу), но какво си мисли жената, която не се е появявала на корица на списание, когато се погледне в огледалото и нищо в тялото ѝ не функционира както преди? 


Когато си жената котка, дори менопаузата ти стои секси. 

Холи Бери, американската актриса, изиграла жената котка в едноименния филм и още десетки роли, които са я направили разпознаваема в целия свят, стана едно от най-популярните лица на менопаузата, разказа за целия си преход към нея, създаде около него мащабен бизнес, написа законопроект и взе на абордаж няколко американски медицински университета.

Започвам този текст с нейната история, защото е много ярък (и секси) пример, върху който да поразсъждаваме за границата между маркетинга и работата в обществена полза в контекста на една дълго (в смисъл хилядолетия) неглижирана здравна тема като менопаузата. Маркетингът не е задължително нещо лошо, напротив – създава възможност да се предложи информация там, където публичните политики никакви ги няма (например в здравното образование).

Остава обаче впечатлението, че всеки, който говори по една от най-важните теми за съвременната жена, се опитва да ѝ продаде нещо. А понякога имаме нужда просто някой да ни избърше сълзите, да ни каже, че петте кила отгоре много ни отиват, и да ни предпише вагинален естроген (но за него – в друг текст).

Холи Бери има дълга и изцяло публична история със симптомите на преходната възраст, която започва, когато актрисата е на 54 г. 

Тя разказва публично, как потърсила помощ заради силна болка след секс и получила диагноза „херпес“, която изследванията не потвърдили. Оказало се, че симптомите са свързани с перименопаузата. Потвърждаването на това обаче отнело време, защото дори лекарят ѝ в началото се смущавал да спомене думата „менопауза“ пред нея, разказва Бери в страницата на инициативата си Re-spin. 

„Лекарите ми казваха, че „просто остарявам“ и че „това се случва на всички жени“, продължава актрисата. Тя споделя, че когато най-после стига до специалист по менопаузата, е толкова объркана и неподготвена, че дори не знае какви въпроси да му зададе, давайки си сметка, че щом тя, световноизвестна актриса, носителка на „Оскар“, кралица на красотата, жена с множество успешни инициативи и влияние, се чувства така, то как ли се чувстват жените от по-непривилегировани социални групи? 

Водена от фрустрацията си, през 2020 г. Бери създава платформата Re-spin – първоначално като място, на което жените могат да получат насоки и основана на науката информация. През 2025 г. инициативата се ребрандира като „услуга на едно гише“ за жени в перименопауза и менопауза с амбицията да им предложи всичко необходимо. 

„И тази се опитва да ни продаде остаряването“,

ще си кажете и ще е обяснимо, защото това е усещането напоследък. Но за Холи няма да сте напълно прави. Наред с бизнеса си актрисата развива мащабна застъпническа дейност. През 2024 г. застава на емблематичния за САЩ хълм Капитолия редом до група сенаторки както от Демократическата, така и от Републиканската партия, за да представят законопроект за по-добри грижи за жените на средна възраст. 

„Аз съм в менопауза“,

обявява тя пред журналистите и това явно е толкова впечатляващо, че го отразяват дори български медии.

Законопроектът все още не е гласуван, но Бери продължава да говори публично за нуждата от него, като паралелно работи и за промяна на обучителните програми в медицинските университети, така че бъдещите лекари да знаят по-добре какво се случва с жените в перименопауза и менопауза и как да им осигурят адекватни грижи.

Че има нужда от такава промяна, доказват и данните. В проучване, публикувано през 2019 г. в Mayo Clinic Proceedings, са анкетирани 183 лекари, специализиращи обща медицина, вътрешни болести и акушерство и гинекология в 20 програми в САЩ. Близо 94% от отговорилите на съответния въпрос смятат обучението за грижи при менопауза за важно или много важно, но едва 6,8% се чувстват достатъчно подготвени, а всеки пети съобщава, че по време на специализацията си не е имал нито една лекция по темата.

Проучване сред 183 лекари от 20 програми за специализация в САЩ.

94%

смятат обучението за грижи при менопауза за важно или много важно

6,8%

се чувстват достатъчно подготвени

1 от всеки 5

не е имал нито една лекция по темата по време на специализацията си

Източник: Mayo Clinic Proceedings, 2019

Сред пионерите в открития публичен разговор за менопаузата е и Анджелина Джоли, която шокира не само феновете си, когато премахна млечните си жлези и яйчниците си, за да се предпази от развитие на онкологични заболявания. Това стана през 2013–2015 г. и актрисата коментираше спокойно, открито и в детайли както решенията си за превантивните операции, така и последиците от тях, сред които и настъпилата вследствие на интервенциите менопауза. 

В последните няколко години обаче темата буквално избухна и сякаш внезапно се оказа, че десетки публично известни жени имат какво да ни кажат за прехода си към живот в репродуктивно неактивна възраст, и са готови да вложат усилия за по-адекватни публични политики в държавите си. 

Менопаузата: Упътване за употреба

Менопаузата е навсякъде, а ние се лутаме между научни знания, клишета и обещания за вечна младост. В първия текст от новата ни поредица Надежда Цекулова тръгва от своя опит, за да потърси какво знаем за този период, защо засяга всички и как да се ориентираме сред съветите, симптомите и маркетинга.

В Съединените щати и Обединеното кралство като че ли разговорите достигат до най-широка аудитория и дори и до нас – някои от следваните и от жени в България лекарки инфлуенсърки по темата, като д-р Мери Клер Хейвър, д-р Луиз Нюсън, д-р Рина Малик, са далеч от представата ни за скучен човек в бяла престилка и доста по-близо до образа на „селебрити“ (личност, която вече е толкова известна, че дори не помним защо точно е известна). В разговора за остаряването и последиците от него се включват Опра Уинфри, Наоми Уотс, Мишел Обама, Ема Томпсън… И всъщност мога да продължа така, изброявайки имена, до края на текста. 

Вълната залива целия свят

Макар у нас да не сме чували за част от активистките за по-адекватна информация и грижи за жените в перименопауза и менопауза, много от тях са истински звезди в своите държави. В Шотландия например олимпийската шампионка по бягане с препятствия Сали Гънъл стана лице на кампания, която цели да мотивира спортните клубове да адаптират тренировъчните си програми така, че да са по-подходящи за атлетки в менопаузален преход.

В Германия книгата на журналистката Мириам Щайн Die gereizte Frau („Раздразнената жена“), издадена през 2022 г., стана много бързо бестселър на Der Spiegel и това провокира разгръщането ѝ в поредица – след нея се появиха Die weisen Frauen („Мъдрите жени“), а съвсем скоро от печат излиза и последната книга от трилогията – Die unverschämte Frau („Безсрамната жена“¹). Наскоро беше издаден и комиксът Peri Мeno на илюстраторката Рина Ланг. 

Във Франция телевизионната журналистка Клер Фурние създаде подкаста Chaud dedans („Жега отвътре“), провокирана отново от болезнения личен опит, съчетаващ неинформираност и усещането, че няма към кого да се обърнеш (което е комбинирано и с представата за драматичен личен провал, когато се имаш за добър журналист, ерго – информиран човек, б.а.)

Сходни примери намираме в Нова Зеландия и Австралия, дори в Индия. Разказвам ви всички тези неща, за да ви улесня в намирането на информация. Но и за да е ясно, че по света ври и кипи и жените „на средна възраст“ са доста сигурни, че са тук, за да останат. 

Ура, не сме на самотен остров!

В България често световният „хайп“ достига с известно закъснение. Нямам ясно обяснение защо е така, намираме се в сърцето на най-благоденстващия континент все пак (да влязат социолозите)! Но вълната, задвижена от жени като Анджелина Джоли и Холи Бери, през 2025-та – 2026-та явно най-после е заляла и нашия бряг. 

Едно от най-разпознаваемите лица (или може би е по-подходящо да кажа „най-разпознаваемият глас“) на застъпничеството за повече информираност относно менопаузата е актрисата Силвия Лулчева. През 2025 г. тя става лице на информационната кампания „Изключи горещите вълни“ и споделя в поредица интервюта за личния си сблъсък с изострената тревожност, която я съпътства в този период. И не е единствена. За трудностите и позитивите на зрялата възраст говорят открито и колежките ѝ Маргита Гошева, Елена Петрова, Катерина Евро, журналистката Люба Пашова. Техните изяви обаче са част от рекламни кампании на различни брандове, а не лична кауза. 

Ако трябва да сме честни, изкуственият интелект откри, че още във вече далечната 1996 г. у нас е била създадена Българската асоциация по менопауза и андропауза (БАМА). Организацията обаче има активна дейност едва няколко години, а през 2020 г. е официално заличена. От 2006 г. насам са регистрирани още три организации с аналогично име и предмет на дейност.

През последните две години се появиха няколко български инициативи с амбиция да подкрепят жените в прехода им към менопауза. Част от тях са специализирани програми на клиники за репродуктивна медицина, което е в някаква степен логично.

Стартъпът Womeno се опитва да събере всички нужди в една точка и да осигури както базови насоки и ориентация за жените къде по трасето на този преход се намират, така и най-сложното – да представи на потребителките си конкретни лекари от широк спектър специалности, които имат интерес и познания за особеностите и нуждите на жените в тази възраст.

Създадена е и фондация на име „Академия Менопауза – България“, която публикува периодично интервюта с български специалисти. От тази година съществува и платформата „Меноморфоза“. Зад нея стои Яна Балникова, чиято история повтаря познатото дотук – на 44 години се сблъсква с безсъние, изтощение, затруднена концентрация, а обяснението на лекарите, че наближава менопаузата, върви с препоръката да свиква. Търсенето на по-удовлетворително решение се превръща във видеоканал в социалните мрежи, уебсайт с информация, ръководства и дневник за проследяване на симптомите. В световния ден на менопаузата беше представена и едноименната книга с експертни отговори и лични истории. Самата Яна пък е пример как подкрепата за жените в сходно положение може да бъде стимул и за развитие на личен бизнес.

Наред с това през последните две години в София се проведоха най-малко пет събития, посветени на „жената в преход“, и изглежда, всички те са се радвали на интерес. Този списък, разбира се, не претендира за изчерпателност. Но с него обръщам внимание, че част от инициативите не са особено активни и от публичните им канали дори не става ясно дали все още функционират. А тези, които са, без изключение са част от маркетингова стратегия, при която образоването на жените е част от маркетинговата политика на даден продукт или услуга. 

Това е проблем, защото затруднява жените при ориентирането коя от рекламните препоръки е наистина основана на наука и има ли как да си помогнат, ако не могат да отделят сериозна сума. Ето как менопаузалното здраве се превръща от право в индустрия. 

Един пример до какво води това, е разминаването между стремежа

да останем здрави, докато сме живи, и превръщането на вечната младост в култ и символ на успеха.

На фона на десетилетните усилия на феминизма да зачеркне или поне да обуздае култа към слабото женско тяло, към силиконовите форми и хирургически опънатата кожа, която уж крие възрастта, сравнително новото движение за менопаузално здраве наля живително гориво у тези вредни за жените тенденции. 

От Холивуд до София обещанието за вечна младост вече си има и име, което звучи почти като медицинска специалност – longevity (лонджевити, в случай че не знаете). Гуинет Полтроу разказва пред ELLE за венозните вливания с модерното вещество NAD+, а марката ѝ Goop слага същата съставка в крем. В София медицински центрове предлагат такива вливания като „антиейджинг“ терапия или като „ъпгрейд“ на клетъчно ниво – практика, която при недостатъчен контрол може да се окаже дори опасна за живота.

Засега няма убедителни данни, че тези процедури забавят стареенето, но пък има данни за нежелани странични реакции – американската Агенция по храните и лекарствата обяви, че е получила сигнали за тежко втрисане и повръщане след употреба на инжекционни препарати с NAD+.

И докато обсъждаме как да си върнем младостта на клетъчно ниво, рискуваме да приемем за даденост, че видимата възраст на една жена е проблем, който тя е длъжна да реши за своя сметка, за да докаже социалната си ценност. Или да го кажем по-просто – 

окей, вече ни е социално разрешено да остаряваме, но само ако не ни личи. 

При това положение може ли да се сърдим, че за жените краят на младостта изглежда като край на живота? 

Въпросът е риторичен.

Иска ми се покрай целия този шум около менопаузата да извоюваме нещо съвсем практично – да можем да остаряваме на видно място и когато имаме нужда от компетентни грижи, да знаем къде да ги търсим и да можем да ги получим.

1 Книгите не са издавани на български език. Всички преводи са на авторката на текста. – Б.р.

Холи Бери е в менопауза. И сега какво?

С финансовата подкрепа на Български фонд за жените и Европейския съюз. Изразените възгледи и мнения са единствено на автора(ите) и не отразяват непременно тези на Български фонд за жените, Европейския съюз или Европейската изпълнителна агенция за образование и култура. Нито БФЖ, нито ЕС, нито ЕИАОК могат да бъдат държани отговорни за тях.

Metasploit Wrap Up: Breaking Zimbra’s Identity Boundaries

Post Syndicated from Christopher Granleese original https://www.rapid7.com/blog/post/pt-metasploit-wrap-up-breaking-zimbra-s-identity-boundaries

This release we have three pull requests from jburgess-r7 building out coverage for the identity-boundary issues detailed in Rapid7’s Breaking Zimbra Identity Boundaries, Part One research.

First up is a new shared mixin, Msf::Exploit::Remote::HTTP::Zimbra, which gives every current and future Zimbra module a common foundation for account/admin SOAP authentication, canonical identity resolution, mailbox-server lookup, and version parsing, allowing future modules to stay focused on the vulnerability instead of re-implementing Zimbra’s SOAP plumbing.

Built on top of that mixin are two new modules targeting CVEs from the same research track:

CVE-2026-73571 (#22080) It’s an authorization bypass in Zimbra’s SaveDraftRequest handling that lets an ordinary authenticated user send mail as another local mailbox without a delegation grant, landing a message in the victim’s own Sent folder in the process.

CVE-2026-93637 (#22070) Is a rate-limit bypass in Zimbra’s Network Edition GraphQL authentication endpoint, which lets credential-stuffing attempts skip the source-IP lockout counter that normally protects the SOAP login path.

Both modules were validated against live Zimbra 10.1.16 Network Edition instances. Super cool contributions from our very own jburgess-r7.

New module content (6)

Zimbra SaveDraftRequest Email Impersonation

Authors: Ayoub Nabil Boubagrat and Crypto-Cat

Type: Auxiliary

Pull request: #22080 contributed by jburgess-r7

Path: admin/http/zimbra_email_impersonation

CVE reference: CVE-2026-73571

Description: Adds an auxiliary module for CVE-2026-73571, allowing an authenticated user to send email as another local mailbox on Zimbra 10.1.16. The module supports optional Inbox delivery verification.

Zimbra GraphQL Authentication Rate Limit Bypass

Author: Crypto-Cat

Type: Auxiliary

Pull request: #22070 contributed by jburgess-r7

Path: scanner/http/zimbra_graphql_brute

CVE reference: CVE-2026-93637

Description: This adds an auxiliary scanner for CVE-2026-93637 that tests Zimbra Network Edition authentication through GraphQL batches. The module supports configurable batches, safe stopping controls, and storage of verified credentials.

BeyondTrust Remote Support MRS Origin Validation File Upload

Author: jheysel

Type: Exploit

Pull request: #22083 contributed by jheysel-r7

Path: linux/http/beyondtrust_rs_mrs_file_upload

CVE reference: CVE-2026-102764

Description: Adds an exploit module for an origin validation vulnerability in Beyond Trust Remote Support which allows for unauthenticated file upload resulting in RCE. The vulnerability is tracked as CVE-2026-102764.

Openfire Deleted Administrator Account Authentication Bypass RCE

Authors: Admin9961, Jatin Mannepalli, h00die-gr3y [email protected], and xRogue

Type: Exploit

Pull request: #22043 contributed by mjatin2007

Path: multi/http/openfire_deleted_admin_rce_cve_2024_25420

CVE reference: CVE-2024-25420

Description: Adds exploit module for CVE-2024-25420, an vulnerability in Ignite Realtime Openfire before 4.8.1 that allows a remote attacker to escalate privileges via the admin.authorizedJIDs system property component.

Cisco Secure Email Gateway AMP Arbitrary File Write RCE

Author: sfewer-r7

Type: Exploit

Pull request: #22028 contributed by sfewer-r7

Path: unix/smtp/cisco_secure_email_gateway_amp_file_write_rce

CVE reference: CVE-2026-76519

Description: Adds a new exploit module for CVE-2026-76519 an unauth RCE in Cisco Secure Email Gateway which was disclosed last month by the vendor and reported as being exploited in-the-wild. The vulnerability is a file write in the Advanced Malware Protection (AMP) File Reputation feature. When processing a TAR file which contains a PAX archive, we can force an existing file to be overwritten. The module overwrites an existing script /data/bin/core_watch.sh with a Metasploit payload. This script file is executed every 5 minutes by a cron job, giving us RCE with root privs.

Cisco Secure Email Gateway ECS Message-ID SQL Injection RCE

Author: sfewer-r7

Type: Exploit

Pull request: #22024 contributed by sfewer-r7

Path: unix/smtp/cisco_secure_email_gateway_ecs_sqli_rce

CVE reference: CVE-2026-76461

Description: This adds an exploit module for an unauthenticated SQL injection in the Cisco Secure Email Gateway (SEG) Email Cloud Scanner (ECS) URL-retrospective message database. We believe this is CVE-2026-76461 being tracked as, which was reported as being exploited in-the-wild last month as a zero-day.

Enhancements and features (2)

  • #22055 from kx7m2qd – Improve ADSelfService Plus check result clarity.
  • #22091 from jburgess-r7 – This adds a shared Zimbra SOAP support for account and administrator authentication, account discovery, and version retrieval. Zimbra modules can now reuse consistent token routing, response validation, and error handling.

Bugs fixed (24)

  • #21879 from JothamB – Fixes a crash in the exploits/windows/local/unquoted_service_path module.
  • #21931 from Pushpenderrathore – Improves the performance of Malleable profiles in versions of Ruby older than or equal to version 3.1.
  • #21948 from s-r-e-e-r-a-j – Fixes a crash when running Metasploit with Apktool 3.x.
  • #21968 from pauljccode – Fixes a crash when running Android payload generation.
  • #21986 from Aaditya1273 – Fixed OptArray normalization so accepted values that differ only by capitalization are canonicalized and deduplicated correctly.
  • #21991 from pauljccode – Fixes intermittent UDP receive failures when routing traffic through a Quectel modem session.
  • #22026 from kx7m2qd – Fixes a warning message when running the SNMP login scanner module.
  • #22062 from Yeagerist0 – Fix dlink_dir_645_password_extractor crashing after it extracts credentials.
  • #22063 from Yeagerist0 – Fixes NoMethodError in auxiliary/scanner/misc/oki_scanner.
  • #22074 from bc-idpotat – Skip invalid SPNs during LDAP enumeration.
  • #22075 from Yeagerist0 – Removes duplicate target prefix from vnc_login module output.
  • #22076 from Yeagerist0 – Removes duplicate target prefix from rsh_login and rlogin_login module output.
  • #22078 from Yeagerist0 – Fixes auxiliary/scanner/http/coldfusion_locale_traversal ignoring FINGERPRINT when FILE is set.
  • #22079 from Yeagerist0 – Fixes a crash when running the xorcom_completepbx_diagnostics_file_read module.
  • #22087 from Yeagerist0 – Reject invalid bytes in the binary encoding checker.
  • #22105 from dwelch-r7 – Updates the msfdb bootstrap capabilities when creating and securing a created PostgreSQL database.
  • #22107 from jankesec – Removes duplicate peer:port prefixes from several scanners.
  • #22108 from jankesec – Removes duplicate peer:port prefixes from several scanners.
  • #22111 from cgranleese-r7 – Adds additional validation to Metasploit’s hardware bridge support.
  • #22116 from Army-R – Updates the post/windows/manage/enable_rdp module’s error handling.
  • #22128 from sjanusz-r7 – Fixes false positives reported by the check method for auxiliary/gather/solarwinds_webhelpdesk_backdoor.
  • #22142 from Yeagerist0 – Fixes Msf::RPC::JSON::Request rejecting valid JSON-RPC responses as InvalidResponse when symbolize_names: false is used.
  • #22143 from urvalkheni – Fixes a crash when running the pihole_domains_api_exec module when a token is not found.
  • #22151 from sjanusz-r7 – Fixes a false positive result in the auxiliary/scanner/http/litellm_proxy_sqli vulnerability detection check.

Documentation added (1)

You can always find more documentation on our docsite at docs.metasploit.com.

Get it

As always, you can update to the latest Metasploit Framework with msfupdate and you can get more details on the changes since the last blog post from GitHub:

If you are a git user, you can clone the Metasploit Framework repo (master branch) for the latest. To install fresh without using git, you can use the open-source-only Nightly Installers or the commercial edition Metasploit Pro

nginx2root: Five new nginx vulnerabilities, and how Cloudflare protects origins from the worst of them

Post Syndicated from Dan Jones original https://blog.cloudflare.com/nginx2root/

On November 18, 2026, F5 and nginx.org disclosed ten vulnerabilities in nginx. Five of them, detailed by the Xint research team and published under the name nginx2root, are memory corruption flaws that an unauthenticated attacker can use to crash an nginx worker or, per Xint's research, run commands on the server. Xint also found a Linux kernel bug that turns that foothold into root on the host, including from inside a Docker container. Other teams found the two HTTP/2 bugs independently: F5 also credits Rapid7, Wiz Research and Ikotas Labs for CVE-2026-123007, and Metnir, Wiz Research, and Palo Alto Networks Unit 42 for CVE-2026-123633.

nginx is an HTTP web server that also serves as reverse proxy, content cache, load balancer, TCP/UDP proxy server, and mail proxy server. nginx runs a large share of the world's web servers, so this is a patch-now event. But if your nginx server is reachable only through Cloudflare's proxy, attackers cannot reach the vulnerable code paths for the most serious of these bugs, giving you protection while you update your servers.

Here is where Cloudflare stands, what that protection covers, where it stops, and how the bugs work.

The short version

  • Cloudflare's edge is not affected. Much of the proxy that handles customer traffic at our edge now runs on FL2, written in Rust. We reviewed the parts still built on our heavily modified nginx fork against all five bugs before disclosure, and an update closing the related code paths finished rolling out globally before the vulnerabilities were published. The same releases fix five other nginx CVEs, including CVE-2026-118899, an infinite loop while reading a request body over TLS 1.3.
  • Origins behind Cloudflare's HTTP proxy are shielded from the HTTP/2 and HTTP/3 attacks. For proxied hostnames, Cloudflare terminates every client HTTP/2 and HTTP/3 connection at our edge and opens a separate connection to your origin. The attacker's frames never reach your nginx.
  • The resolver and mail proxy vulnerabilities depend on specific configuration. Many configurations of nginx will not be vulnerable, but the safest way to be sure is to update your install or disable features.
  • You should still patch. Update to nginx 1.30.7 or 1.31.9 (or your vendor's fixed build) and restart. Some configurations, covered below, are not protected by the proxy.

What was disclosed

nginx2root is five independent bugs. Each one works on its own and each one needs a different configuration.

CVE

Bug class

Affected configuration

First affected release

CVE-2026-123007

Integer overflow leading to out-of-bounds heap read/write

HTTP/2 enabled

1.9.5 (2015)

CVE-2026-123633

Use-after-free

HTTP/2 with proxy_pass to a backend, worker low on worker_connections

1.19.7

CVE-2026-121810

Use-after-free

HTTP/3 (QUIC) with proxy_pass to a backend

1.25.0

CVE-2026-123634

Use-after-free

resolver + proxy_pass with variables + a subrequest (mirror or SSI)

0.6.18

CVE-2026-113425

Use-after-free

Mail proxy with proxy on and auth_http

0.5.33

F5 rates each one High (CVSS 3.1: 8.1) and Critical (CVSS 4.0: 9.2), and notes that code execution requires disabling or bypassing ASLR (Address Space Layout Randomization). For CVE-2026-123007, Xint's write-up shows how it leaked memory addresses to do exactly that.

CVE-2026-123007 is the one to worry about most. It only needs HTTP/2 turned on, which is commonly enabled on TLS deployments, and it has been in every nginx release since HTTP/2 support shipped in 1.9.5. Xint ran the exploit over the public Internet against servers on AWS, GCP and Azure. Xint searched Shodan on November 10, before the disclosure, and found 56.7 million hosts matching product:nginx. Of the 11.94 million that reported a version, 98.9% fell in the affected range. As of November 19, Censys's nginx2root exposure tracker counts about 8.8 million services running a potentially affected version with HTTP/2 enabled. Version strings don't prove a host is vulnerable, since distributions backport fixes, but the exposure is large.

The same nginx releases also fix five other bugs. The most serious, CVE-2026-118899, is an infinite loop when reading a request body over TLS 1.3 that lets an unauthenticated attacker stall a worker, in nginx 1.13.0 and later.

The Linux kernel bug is the sixth part of nginx2root. Xint found a use-after-free in the kernel's SCTP send path, present since Linux 4.15 (2018): while a send operation waits, its SCTP association can be moved to another socket, and the waiting send can then free it. An attacker who already runs code as the nginx worker can use it to gain root on the host, and Xint did this from an nginx running inside a Docker container. Many distributions load the SCTP module automatically the first time a program opens an SCTP socket, so hosts that never use SCTP can still be exposed. As of November 18, no kernel fix was available and Xint was withholding the details until there is one.

As of November 19, none of the five nginx2root CVEs is in CISA's Known Exploited Vulnerabilities catalog, and we have not seen reports of exploitation in the wild. Xint and Wiz Research have not released their exploits. Rapid7 has published a proof of concept, which it describes as suitable only for demonstrating the attack against a freshly started local container. Fake 'exploits' are also circulating on GitHub.

Why Cloudflare's proxy protects your origin

nginx2root's most dangerous bugs live in how nginx parses and manages HTTP/2 and HTTP/3 connections. To trigger them, an attacker has to send a carefully ordered stream of protocol frames directly to the nginx process: billions of WINDOW_UPDATE frames, a SETTINGS frame that holds response data back, PING frames that fill the send buffers, partial HEADERS frames, RST_STREAM at exactly the right moment.

When your DNS record is proxied through Cloudflare, that connection ends at our edge.

Cloudflare reads the client's HTTP request, applies your security and caching rules, and then makes its own request to your origin over a connection Cloudflare controls. The flow-control frames, pings, settings, and stream resets that the attacker sends are consumed by our edge. They are not forwarded. Your nginx only ever sees the requests Cloudflare chooses to send, framed the way Cloudflare frames them. This also holds when Cloudflare connects to your origin over HTTP/2: Cloudflare runs its own flow control on that connection and sends WINDOW_UPDATE and RST_STREAM frames only as its own traffic needs, so a client can't make it relay the billions of WINDOW_UPDATE frames the attack requires.

Rapid7 makes the same point in its analysis of CVE-2026-123007: if the HTTP/2 connection is proxied, the attacker's frames "will likely not be retransmitted" in a way that allows exploitation. This breaks each of the HTTP/2 and HTTP/3 attacks.

CVE

What the attacker needs

Behind Cloudflare's HTTP proxy

CVE-2026-123007

Direct control over HTTP/2 WINDOW_UPDATE, SETTINGS, PING and RST_STREAM on one connection to nginx

Protected. Control frames terminate at Cloudflare's edge.

CVE-2026-123633

The first part of a HEADERS frame on a direct HTTP/2 connection, plus the ability to exhaust nginx connection slots and reset the TCP connection

Protected. The client's HTTP/2 connection terminates at Cloudflare.

CVE-2026-121810

A direct QUIC/HTTP/3 connection to nginx

Protected. HTTP/3 terminates at Cloudflare's edge. We do not communicate to origins over HTTP/3

CVE-2026-123634

A request and its mirror or SSI subrequest waiting on the same DNS lookup, and the main request ending while the answer is processed. In Xint's exploit, nginx's resolver had to reach the attacker's DNS server.

Not fully protected. Depends on how your config builds proxy_pass. Patch.

CVE-2026-113425

A direct IMAP/POP3/SMTP connection to the nginx mail proxy

Not protected. Cloudflare's HTTP proxy does not carry mail traffic.

There is one condition to be protected by Cloudflare here: your origin must not be reachable directly. If an attacker can find your origin's IP and connect to it directly (TCP 443 or 80 for HTTP/2, UDP 443 for HTTP/3, or the mail ports), Cloudflare isn't in the path and the protection doesn't apply. You should ensure that your origin servers can only be accessed through Cloudflare’s proxies, using one of the following approaches:

  • Cloudflare Tunnel. Your origin makes an outbound-only connection to Cloudflare and exposes no inbound ports.
  • Firewall to Cloudflare IP ranges. Accept inbound HTTP/HTTPS only from Cloudflare's published IP ranges. This must be done using an IP firewall, not based on configuration in your nginx server.
  • Authenticated Origin Pulls (mTLS). Your origin rejects any TLS connection that doesn't present Cloudflare's client certificate.

Xint's own exposure check makes the same point: "If a CDN or reverse proxy sits in front of nginx, the test only reaches the proxy, so also run it directly against the nginx server."

Where the protection does not apply

There are several situations in which Cloudflare’s HTTP proxy does not provide protection.

  • Spectrum TCP/UDP applications. For these configurations, traffic from the Internet is passed unmodified through to your origin. If your origin is running nginx, patch or disable the affected features.
  • nginx mail proxy. Cloudflare's HTTP proxy does not carry IMAP, POP3 or SMTP. Restrict mail listeners to trusted networks until patched.
  • CVE-2026-123634 (resolver). This depends on how your configuration builds the proxy_pass target from the request, combined with a carefully timed cancellation of an HTTP request. Passing your traffic through Cloudflare’s proxy makes it harder to exploit this, but does not provide full protection. Update regardless.
  • DNS-only (grey-cloud), internal or non-proxied nginx. Any nginx server an attacker can reach without going through Cloudflare, including internal services behind a compromised host, needs to be patched.

Cloudflare’s WAF rules are not relevant to these vulnerabilities. These are protocol-level bugs. Because Cloudflare’s proxy handles parsing the HTTP protocol messages, and creates new messages to fetch information from origin servers, origins behind Cloudflare's HTTP proxy are protected from the HTTP/2 and HTTP/3 bugs without needing a rule. We have therefore not released a managed rule. The protection comes from connection termination, not from pattern matching.

What to do now

  1. Find every nginx server. Include nginx Plus, distribution packages, container images and appliances. Run nginx -V and nginx -T on each and note HTTP/2, HTTP/3/QUIC listeners, proxy_pass with variables plus SSI or mirror, and any mail block.
  2. Patch. Update nginx Open Source to 1.30.7 or 1.31.9, nginx Plus to 37.0.8.1 or 37.3.0.1, or your distribution's fixed package. F5 lists nginx Plus R34 to R36 as affected with no fixed build, so move those to a fixed 37.x release. Then restart nginx or complete a binary upgrade. A config reload does not replace the running binary.
  3. Check backport versions carefully. Distributions often patch without changing the version nginx -v reports. Compare the full package version against your distribution's advisory.
  4. Make sure your origin is only reachable through Cloudflare. Use Tunnel, IP allowlisting or Authenticated Origin Pulls.
  5. If you can't patch yet, disable what you don't need. http2 off; (nginx 1.25.1 and later; on older versions, remove http2 from the listen directive) blocks CVE-2026-123007 and CVE-2026-123633. Removing QUIC listeners and setting http3 off; blocks CVE-2026-121810. Point proxy_pass at fixed upstream groups for CVE-2026-123634. Don't rely on mirror_request_body alone: Xint's tested setup set it to off, and the default on stopped that exploit, but SSI and other subrequests can still reach the bug. Bind mail listeners to trusted networks for CVE-2026-113425. Restart so old connections close.
  6. Block SCTP if you don't use it. Add install sctp /bin/false to a file in /etc/modprobe.d/ to stop the kernel module from loading. This doesn't unload an already-loaded module or disable SCTP built into the kernel. When your distribution ships a kernel update for the SCTP bug, install it and reboot. Blocking the module is a stopgap until then.

The Cloudflare Radar Zero Wire entry for nginx2root has the full checklist, a prompt you can give an agent to run a read-only assessment of your fleet, and links to every vendor advisory.

Technical deep dive

Let’s dig into the details of the five bugs by looking through the code. We’re looking at nginx 1.31.8 (commit 140aa94) which was the most recent code published before the fixes, and comparing this to the fixes in 1.31.9 (which were also included in release 1.30.7 on the stable branch).

A note on methodology: we based our analysis on the public advisories, and to verify our reading of the code, we built the public 1.31.8 and 1.31.9 releases with AddressSanitizer and ran tests for four of the five bugs (flow control, HTTP/2 use-after-free, resolver and mail proxy). Each one faults on 1.31.8 and runs clean on 1.31.9. We did not reproduce the HTTP/3 bug; that section is based on the fix commit and the published analysis.

One pattern, in four places

Four of the five bugs are use-after-free bugs. This is a common issue with programs that manually manage memory without language support: one part of the code frees an object that another part is still using.

nginx is event driven. A handler runs, calls other code, and that code returns to the handler. Three of the bugs occur when the called code tears down the connection or request the handler is working on. In the fourth, a second connection still holds a pointer to the object.

  • CVE-2026-123633 and CVE-2026-121810. A request needs a connection slot to reach its upstream. nginx is low on slots, so it closes an idle connection to free one. The connection it chooses is the one the request belongs to.
  • CVE-2026-123634. A resolver callback ends a request. Cleanup of that request frees a second resolver context that the resolver is about to call next.
  • CVE-2026-113425. When a write to a mail client fails, the client connection is closed while the connection to the authentication service still points at its session.

F5 rates all four as potential code execution if address space layout randomization (ASLR) is disabled or bypassed, and in its tests Xint reports code execution with the privileges of the nginx worker.

The fifth bug, CVE-2026-123007, is of a different kind: an accounting error that becomes a length error.

CVE-2026-123007: two flow-control pieces that each look correct

HTTP/2 flow control limits the amount of response data a server may send. nginx tracks a send window for each stream and one for the connection, h2c->send_window. The client enlarges a window with a WINDOW_UPDATE frame, and the protocol caps every window at 2^31 − 1.

nginx enforces that cap when a WINDOW_UPDATE arrives (ngx_http_v2_state_window_update()):

if (window > NGX_HTTP_V2_MAX_WINDOW - h2c->send_window) {
   /* logs "client violated connection flow control" */
   return ngx_http_v2_connection_error(h2c, NGX_HTTP_V2_FLOW_CTRL_ERROR);
}

On its own, this check is correct. But the connection window also grows in a second place. When nginx queues DATA frames for a stream, it subtracts their length from the window. If the stream is canceled before those frames go out, ngx_http_v2_filter_cleanup() takes them off the queue and returns the credit:

h2c->send_window += window;

Nothing caps this line. As the fix commit describes, if the client enlarges the connection window after the frames are queued and before the stream is terminated, the refund pushes the window past 2^31 − 1.

From that point the first check no longer works. h2c->send_window is an unsigned size_t, so NGX_HTTP_V2_MAX_WINDOW - h2c->send_window wraps around to a very large number and every subsequent WINDOW_UPDATE is accepted. The client can then raise the window as far as it wants.

The window is unsigned, but the code that sizes DATA frames compares it as a signed value (ngx_http_v2_send_chain()):

if (limit == 0 || limit > (off_t) h2c->send_window) {
   limit = h2c->send_window;
}
...
if ((off_t) frame_size > limit) {
   frame_size = (size_t) limit;
}

After the window passes 2^63, it is negative as an off_t. The frame size becomes the window value itself, a number between 2^63 and 2^64, and nginx builds a buffer whose last pointer lies before its pos pointer.

Over TLS, that buffer reaches a memcpy() in ngx_ssl_send_chain() with that length. Our TLS test stops at that point under AddressSanitizer. Xint's write-up explains how, with the window pushed close to 2^64, this turns into a controlled out-of-bounds write and an address leak, and Xint, Rapid7, and Wiz each report code execution from it. This post goes no further than the fault.

Over cleartext HTTP/2, the same invalid buffer follows a different output path. Our cleartext test also faults under AddressSanitizer on 1.31.8 and runs clean on 1.31.9. The public write-ups address the TLS case.

How much traffic the known attacks require

The biggest step a WINDOW_UPDATE can take is 2^31 − 1, and a WINDOW_UPDATE frame is 13 bytes. Bringing a 64-bit window near its top therefore requires about 2^33 frames: roughly 8.6 billion frames, or about 112 GB (104 GiB).

Rapid7, which published a proof of concept, gives the same figure and adds that nginx limits control-frame traffic relative to other traffic on the connection, so its run also sends about 15 GiB of other request traffic. Its total comes to approximately 128 GB of HTTP/2 data: about two minutes on a 10 Gbit/s link and about seventeen minutes at 1 Gbit/s. Rapid7 estimates the WINDOW_UPDATE traffic needed to reach 2^63 at about 2^32 frames, or 52 GiB, half of the 104 GiB figure. It also notes that these figures describe its route and are not a proven minimum.

For defenders, this is the useful fact about the bug. At this volume, the known attacks are hard to hide: nginx receives tens of gigabytes from a single client over one long-lived connection and sends little back, much more than the requests in the access log account for.

Why it was difficult to find

The refund line has existed in nginx since HTTP/2 support arrived in 1.9.5 in 2015. Two things made it difficult to notice.

First, each piece looks correct on its own. The check on WINDOW_UPDATE is the right check. The refund is the right refund. The bug is that the check relies on an assumption the refund does not preserve.

Second, testing that waits for a crash is very unlikely to reach it, because a crash requires tens of gigabytes of input. The bad state itself can be reached with very little traffic: Censys published a cleartext test that reaches what it calls the corrupted flow-control state with a 5.69 MB capture. A test that asserts "the send window never exceeds its protocol maximum" after every frame would flag the bad state as soon as a test sequence got there. A test that waits for memory corruption would not.

The fix

The fix (6 lines added) introduces a counter, h2c->send_queued, for DATA that is queued but not yet sent. The WINDOW_UPDATE check now includes those bytes in the window:

if (window > NGX_HTTP_V2_MAX_WINDOW - h2c->send_window - h2c->send_queued) {

From the client's perspective, queued frames still count toward the window, so the client can no longer refill credit that nginx is about to refund. On a fixed version the attempt is rejected with a flow-control error.

CVE-2026-123633: where two protections interact

An nginx worker has a fixed number of connection slots (worker_connections), which the client and upstream connections share. Since 1.19.2, when free slots run low (1/16 of the total or fewer), ngx_get_connection() calls ngx_drain_connections(), which closes connections marked "reusable": connections with nothing in progress, such as idle keep-alive connections.

This works only if a reusable connection truly has nothing in progress. For HTTP/2 that was not always the case. Two commits landed on the same day in February 2021 and were released together in 1.19.7:

  • "HTTP/2: fixed reusing connections with active requests" fixed a case in which a cleartext HTTP/2 connection could remain reusable while it had a request.
  • "HTTP/2: reuse of connections with incomplete frames" registered a connection as reusable while it waits for the remainder of a partly received frame, so that a client cannot hold slots with partial frames.

The second change is the relevant one here. As the fix commit explains, if the remainder of that frame is a HEADERS frame, a stream is created, but the reusable status was not reset until the connection next went idle. The connection then has a request and remains in the reusable queue.

If that request is proxied, nginx requests a slot for the upstream connection. If slots are short, the drain runs inside that call and can choose this same connection. The drain instructs the connection to close and nginx attempts to send GOAWAY. If that send fails, nginx frees the connection and every stream on it. Control then goes back to the upstream code, which continues to use the request it was called for.

Each change made sense on its own. The interaction between them was subtle and stayed unnoticed until this year. F5's advisory credits Albert Ebb of Metnir, Nir Ohfeld at Wiz Research, Xint.io and memN0ps of Palo Alto Networks Unit 42; nginx.org's changelog credits Albert of Vexera AI.

The fix

Two lines added: ngx_http_v2_create_stream() now calls ngx_reusable_connection(h2c->connection, 0). A connection that has a stream is never reusable, regardless of the state it was in before.

CVE-2026-121810: the same idea, in QUIC

According to the fix commit and Xint's analysis, the HTTP/3 bug reaches the same result by a different route.

In nginx's QUIC code, each QUIC connection uses one connection slot and each stream uses another. A QUIC connection may be drained only when every stream remaining in its tree can be cancelled, and nginx determines this by walking the connection's tree of streams.

ngx_quic_create_stream() removes the QUIC connection from the reusable queue and then requests a slot for the new stream. Before the fix, the new stream was added to the tree only after that. If the slot request triggered a drain that closed another, idle stream of the same QUIC connection, the code handling the closed stream walked the tree, did not find the stream being created, concluded the connection was idle, and made it reusable again. A later drain, for example when the new request connects to its upstream, could then close the QUIC connection while that request was running.

F5's advisory states that exploitation "also depends on conditions beyond the attacker's control". Xint writes that the bug "is triggered by a slightly different mechanism" from the HTTP/2 one.

The fix

Four lines added: the stream goes into the tree before the slot is requested, and is taken out again on the error paths.

CVE-2026-123634: freeing the next item of a list during the walk

When proxy_pass contains a variable, nginx resolves the host name while handling the request. If a lookup for the same name is already in progress, the new request waits on the same resolver node. When the answer arrives, nginx detaches the list of waiting contexts and calls each in turn:

next = rn->waiting;
rn->waiting = NULL;

while (next) {
   ctx = next;
   ...
   next = ctx->next;

   ctx->handler(ctx);
}

The loop stores next before the handler call, so a handler may free its own context. The trouble starts when a handler frees a different context in the same list. This happens when two contexts belong to one request, as with a request and its mirror subrequest resolving the same name (the case Xint tested; F5 also lists SSI subrequests). If the first handler ends the request, the request's cleanup calls ngx_resolve_name_done() for the second context. That function searches the node's waiting list for the context, does not find it because the list has been detached, and frees the context regardless. The loop then advances to the freed context.

Usually nginx logs this. On vulnerable versions, when the search fails, it writes

could not cancel <name> resolving

to the error log at alert level. This line is worth searching for. It is not proof either way: the fix commit notes that one variant, while following a CNAME, produced no alert.

The fix

A context cancelled while it sits in a detached list is no longer freed immediately. Its handler is swapped for one that frees it when the loop gets to it (31 lines added). The fix also downgrades the alert to a debug message, so the line above shows up at alert level only on unpatched versions.

CVE-2026-113425: two connections, one session

With auth_http, the mail proxy asks an HTTP service to verify each login. During the wait, it holds two connections for one session: the client connection and the connection to the authentication service. The second points at the session and uses the memory pool of the client connection.

Before the fix, the reply the protocol handler had prepared for the client remained queued while the authentication request was in progress, and the client's write handler was still ngx_mail_send(). If that handler ran and the write failed because the client had reset the connection, it closed the client connection and destroyed the session. The authentication connection still pointed at the session, and the next event on that connection used freed memory.

Xint describes two conditions for this: the client's write event must already be registered (for example, because the client stopped reading replies), and the login command and the reset must be handled in the same pass of the event loop. Valid credentials are not needed, because this happens before the login is checked.

The fix

Two added lines discard the queued reply when the authentication request begins. The same release contains three further commits that block client writes while the proxy waits for the authentication response, while it connects to the upstream and reads its greeting, and while it resolves an SMTP client's address and name.

What the fixes share

The five fixes each involve minor corrections to the code. They add between 2 and 31 lines each, and the mail proxy fix came with three further commits. There is no design change needed. Each fix restores an invariant that the rest of the code already depended on:

  • a send window never goes above the protocol maximum
  • a connection with a request in progress is never reusable
  • an object that other code is about to use is not freed out from under it

In every case, one code path failed to keep a rule that the rest of the code relied on, and the fix makes that path keep it. As code is modified over time, it is very easy for these kinds of rules to become broken.

What to watch for

Attempts to exploit this will typically trigger some characteristic log messages. Three of these messages (the two at info and the one at warn) fall below nginx's default error_log level of error and appear only if a lower level is set. The alert messages are logged by default.

Bug

Log messages or other signals

CVE-2026-123007

A single long-lived HTTP/2 connection on which nginx receives tens of gigabytes from a client and sends little back, much more than its logged requests account for. On fixed versions a rejected attempt logs client violated connection flow control: received WINDOW_UPDATE frame with window increment ... not allowed for window ... (level info; older versions have the same message for ordinary violations). http2 flood detected (level info) on such a connection can be a failed attempt, but nginx also logs that message for several other limits.

CVE-2026-123633, CVE-2026-121810

worker process <pid> exited on signal 11 (level alert) on servers that accept HTTP/2 or HTTP/3 and proxy to an upstream, along with worker_connections are not enough, reusing connections (level warn). A use-after-free does not always crash.

CVE-2026-123634

could not cancel <name> resolving (level alert, unpatched versions only). The absence of this message does not rule the bug out.

CVE-2026-113425

Worker crashes in a mail proxy using auth_http, with client connections reset during login.

All five

Unexpected programs launched by an nginx worker process, for example from an auditd rule on execve for the worker's user. Xint recommends this check, and it is the strongest sign of a successful attack.

Timeline

Date (UTC)

Event

Oct 11, 2026

Xint discovers the vulnerabilities

Oct 16, 2026

Reported to F5 via HackerOne

Oct 27, 2026

Reports delivered to the nginx development team

Nov 10, 2026

Xint completes patch validation

Nov 18, 2026

Public disclosure; nginx 1.30.7 and 1.31.9 released

Closing

CVE-2026-123007 sat in nginx for more than ten years. The SCTP bug has been in the Linux kernel since 2018. Xint says one of its researchers found CVE-2026-123007 by hand and an automated Xint scan found the other four nginx bugs. Several other teams found the two HTTP/2 bugs independently. Meanwhile, nginx's advisory list has gone from two entries in 2025 to 36 so far this year. AI-assisted research is finding bugs in heavily reviewed code faster than before, and more disclosures like this one are coming.

That's a large part of why it's worth putting Cloudflare in front of your origin. A protocol bug in your web server becomes much less of a risk when the attacker can't speak that protocol to your server directly. Our edge is not affected, and the HTTP/2 and HTTP/3 attacks against your nginx end at our network. Patch anyway, lock down your origin so Cloudflare is the only way in, and use the Radar Zero Wire page to check your fleet.

Sources

AI coding agents on Amazon EC2 Mac: How Cognition scales Devin for macOS

Post Syndicated from Adam Hesch original https://aws.amazon.com/blogs/architecture/ai-coding-agents-on-amazon-ec2-mac-how-cognition-scales-devin-for-macos/

When the Cognition team set out to give Devin, their AI software engineer, the ability to build Apple apps, they ran into a basic requirement: Devin needed a Mac. The process of building, testing, and signing apps for iPhone, iPad, and Mac requires both Apple hardware and macOS, regardless of who (or what) writes the code, which was not supported until a couple months ago. To give Devin access to a Mac development environment, Cognition now runs macOS environments on Amazon Elastic Compute Cloud (Amazon EC2) Mac instances. With access to cloud-based Macs, Devin can build an iOS app, run it in the iOS Simulator, and check how it behaves all before it hands back a merge-ready change.

Within six weeks of launch, nearly 1,000 organizations were running Devin on macOS, according to Cognition. Cognition starts a fresh macOS virtual machine (VM) for each Devin session in under a minute, using a fleet of EC2 Mac hosts across six AWS Regions. By Cognition’s estimate, that startup time puts customers into a working macOS environment 15–20 times faster than setting up a Mac host themselves.

This post explains why Devin needed its own Mac, how Cognition built Devin workspaces on EC2 Mac, and how to plan a macOS fleet for AI agents or automated testing.

Why an AI coding agent needs its own Mac

Prior to this launch, Devin Cloud ran sessions only on Linux and Windows VMs. Devin could write Swift code and syntax in those sessions, but without macOS and Xcode it couldn’t run or test the app, so it depended on a customer’s continuous integration (CI) system or the customer’s own Mac fleet to build and test. Even then, simply having a successful build doesn’t show whether the app behaves correctly. One example of testing behavior is where an iPhone game is designed to resume where the player paused it, even after the app closes; in order to check that behavior, a software development agent has to play the game, pause it, quit, relaunch, and confirm the saved state.

You can virtualize macOS, but a Devin workspace needs more than just a bootable virtual operating system environment. Cognition needed each macOS workspace to provide the same properties as its other cloud workspaces:

  • A disk that keeps the work of a session, so an idle session doesn’t keep a VM running.
  • Network access that follows the access rules of the session.
  • A development environment that is ready before Devin starts.
  • A way for both the user and Devin to see and operate the running app.

Why Cognition chose AWS

Cognition required macOS machines to scale Devin beyond Linux and Windows, but sought to avoid the overhead of buying, racking, and maintaining physical Mac computers. The following properties of EC2 Mac shaped the Cognition design:

  • Apple silicon hardware in the cloud: Each EC2 Mac instance is a physical Mac mini or Mac Studio attached to the AWS Nitro System, so Cognition can run the Apple Virtualization framework on EC2 Mac the same way it would on an on-premises Mac.
  • Capacity through an API: Cognition allocates Dedicated Hosts and launches Mac instances with the Amazon EC2 API, instead of ordering and shipping machines.
  • Regions around the world: EC2 Mac is available in multiple AWS Regions, and Cognition runs in six of them.
  • Standard AWS networking and storage: Mac instances run in an Amazon Virtual Private Cloud (Amazon VPC) and boot from Amazon Elastic Block Store (Amazon EBS) volumes, so Cognition manages them like other EC2 instances.

Solution overview

Cognition builds Devin macOS workspaces on EC2 Mac instances, which run as bare metal instances on Amazon EC2 Dedicated Hosts. Available with Apple silicon, these instances are built on Apple Mac computers and the AWS Nitro System.

Each EC2 Mac instance runs on its own Dedicated Host, which has a minimum allocation period of 24 hours, so Cognition separates the life of a Devin session from the life of a host. In Regions where they don’t have preallocated capacity, Cognition uses an Amazon EC2 Auto Scaling group to allocate and release Dedicated Hosts.

On each host in its fleet, a Cognition VM manager uses the Apple Virtualization framework to run macOS guest VMs from images that Cognition prepares and manages. Each bare metal EC2 Mac host runs two isolated Devin workspaces at a time, because the macOS Software License Agreement (SLA) (SLA) allows up to two additional copies of macOS in virtual operating system environments on each Mac, a limit macOS enforces. Idle Devin sessions release their VMs for other Devin sessions to use, so a singular host is able to serve multiple Devin sessions a day.

Figure 1 shows how one EC2 Mac Dedicated Host serves Devin sessions. The host runs a bare metal Mac instance in one of the six AWS Regions in the Cognition fleet, with one guest VM per active session. Each guest runs Xcode tools and the iOS Simulator with the app under test, plus a live view and an accessibility tree from accessibility-cli. The user’s browser exchanges video and input with the live view, and the Devin agent queries and acts on the accessibility tree.

On the host, the VM manager runs the guests with the Virtualization framework, while a snapshot process with a Network Block Device (NBD) frontend handles disk I/O for each guest and exchanges snapshots with snapshot storage. The Devin agent and snapshot storage also run on AWS as Devin Cloud services inside the same Region, with Devin sessions hosted on Amazon EC2 and snapshots stored in Amazon Simple Storage Service (Amazon S3) (Amazon S3). For networking, a user-space Ethernet gateway takes Ethernet frames from a guest and passes IP packets to macOS packet filter (pf) rules and proxies, which apply the session access rules and send allowed traffic to the internet.

Architecture diagram. Inside an AWS Region, an EC2 Mac Dedicated Host runs two macOS guest VMs, one for each active Devin session. Each guest contains Xcode tools, the iOS Simulator with the app under test, a live view, and an accessibility tree. On the host, a VM manager runs the guests, a snapshot process connects guest disks to snapshot storage, and an Ethernet gateway passes guest traffic to packet filter rules and proxies that allow traffic to approved internet destinations. Also inside the Region, outside the host, the Devin agent on Amazon EC2 connects to the accessibility tree, snapshot storage in Amazon S3 holds session snapshots, and an Auto Scaling group allocates and releases hosts. Outside the Region, the user connects to the live view.

Figure 1: Devin macOS sessions on an Amazon EC2 Mac Dedicated Host

Keep session state with disk snapshots

Much of the work users do with Devin Cloud is asynchronous, and an idle session doesn’t need a running VM, so Cognition leverages the same snapshot system for macOS as its Linux VMs. The snapshot system runs as a separate process on the host and handles the VM’s disk reads and writes. Because the guest operating system sees only an ordinary virtual disk, the guest doesn’t need to know about snapshots.

On Linux, Cognition connects VMs to this storage process with vhost-user. The Virtualization framework doesn’t support vhost-user, but it does support NBD attachments, so Cognition added an NBD frontend to its snapshot system and kept the same storage design behind the new frontend. When a guest shuts down, the storage process keeps running to persist pending writes and upload the updated snapshot. The VM manager waits for the upload to finish before it completes cleanup, so stopping a session doesn’t interrupt the work that saves it.

Cognition reports that about 90% of sessions give up their Mac VM when idle and resume from a snapshot in seconds. On average, a session frees and reclaims its VM multiple times, so Mac capacity goes to active work, not idle sessions.

Apply network access rules with a user-space Ethernet gateway

Devin Cloud applies the access rules of each session to outbound traffic and blocks access to protected host infrastructure. The Virtualization framework offers three ways to connect a guest to the network: bridged networking, network address translation (NAT), and a file-handle attachment, which exchanges raw Ethernet frames over a local Unix datagram socket. NAT needs the least setup, but the Apple implementation also manages rules in pf, the macOS packet filter. Because Cognition also uses pf for its network controls, the two systems raced to configure the same filter.

Cognition chose the file-handle attachment instead and built its own Ethernet gateway to run in user space on the host, giving each Mac VM a separate gateway and its own session policy enforcement. Each Mac VM has its own gateway and its own session policy enforcement. The gateway answers Address Resolution Protocol requests from the guest and validates Ethernet addressing. It also checks that the source IP address of each packet matches the address assigned to the guest. The gateway then passes accepted IP packets into a tunnel interface on the host, where pf rules and proxies route the traffic and apply the access policy of the session.

Prepare guest images before the first boot

A Devin workspace needs more than a fresh macOS install: a user account, a usable desktop, Xcode tools, and the permissions Devin needs to observe and control apps. A fresh install asks for permissions such as accessibility and screen recording in dialogs, and each dialog would block Devin until a person approved it.

To avoid those dialogs, Cognition mounts the guest image disk on the host and prepares its state directly, creating the user and updating the macOS internal configuration databases so the permissions are in place before the guest boots. Cognition then boots the prepared image to install the remaining developer tools, verify Xcode, warm up the iOS Simulator, and let Spotlight indexing and other background setup finish. Cognition also turns off background services development sessions don’t need. With all this preparation done ahead of time, a new session can start building and testing as soon as its VM starts.

Give users a responsive live view of the app

Users can watch the macOS desktop in a Virtual Network Computing (VNC) view and their app in a new iOS Simulator pane in the Devin session. From either view, users can also try the app themselves and take control when they want.

Figure 2 shows a recorded Devin session from Cognition, in which Devin builds a 3D iPhone game and tests it in the iOS Simulator while the session’s Computer pane shows the macOS desktop.”

Figure 2: Devin builds and tests a 3D iPhone game on macOS. Video courtesy of Cognition

Two steps decide whether the live view responds fast enough for users to operate the app: capturing the screen and delivering the video. For the macOS desktop, ScreenCaptureKit, the Apple desktop capture API, supplies screen images from a limited pool of reusable buffers. When Cognition needs to keep the last captured image, it keeps its own copy instead of holding a pooled buffer, because holding a buffer while the screen is idle can delay the next screen change.

After capture, the desktop and Simulator video is encoded, sent to the user’s browser, and displayed. When one stage can’t keep up, frames wait between stages, and the stream can look smooth while it shows an old state of the app. In the iPhone game example, a user might press Pause and still see the game move, because the viewer is still showing frames from before the press. To keep the view current, Cognition limits how many frames can wait between stages and doesn’t replay a stale backlog.

Because compressed video frames often build on earlier frames, dropping a frame can leave the frames after it impossible to decode. A keyframe doesn’t depend on earlier frames, so the decoder can start fresh from it. When the Simulator stream falls behind, it restarts from a recent keyframe or asks for a new one and skips the missed frames. Keyframes are part of the compressed video stream, so they’re separate from the screen images Cognition copies at capture.

Let Devin operate native apps through the accessibility tree

Like users, Devin needs to see and operate the app, and it also needs an efficient way to check the result of each action. Devin does this through computer use, which in its simplest form takes a screenshot, has a model find a control in the image, clicks it, and takes another screenshot. This loop is slow and costly across the many pause, quit, and relaunch paths that Devin tests compared to web apps, where browser automation is more efficient. This is because the browser exposes the page structure, so Devin can find a named button or read a field’s value without working from pixels.

Native macOS apps and apps in the iOS Simulator run outside the browser, but they expose a structure of their own: the accessibility tree. Built for assistive technologies, the tree describes each control by its role, name, value, state, and relationships to other controls. Cognition exposes this tree to the Devin computer-use tool, so Devin can confirm that a control is a Resume button instead of guessing from pixels. Devin queries for a control, acts on the reference the query returns, and then reads the tree again to report what changed. The following exchange, adapted from Bringing macOS to Devin, shows a query for a Resume button and the press that follows.

{ "action": "query", "target": "ios", "role": "button", "name": "Resume" }

The shortened result lists a reference, the control’s role, its accessible name, and the actions it supports.

@i17 button "Resume" {press}

Using that reference, Devin then presses the control.

{ "action": "act", "target": "ios", "reference": "@i17", "operation": "press" }

Cognition built these capabilities on the open source accessibility-cli project from Dioxus, which is now part of Cognition. The project provides accessibility, input, and screen capture building blocks, and Devin turns them into the observe, reference, and act loop shown here. Even with the accessibility tree, Devin still relies on screenshots to check how the app looks. In the game example, a closed pause menu doesn’t prove the game restored the player’s position, because the app might draw gameplay directly instead of describing it in the tree.

Results

Cognition launched macOS support for Devin on September 15, 2026, and nearly 1,000 organizations were running Devin on macOS within six weeks. Devin no longer needs a customer’s CI system or Mac computers to build and test Apple apps, because it now builds, runs, and verifies iPhone, iPad, and Mac apps in its own cloud workspace. From that workspace, Devin also uploads builds to TestFlight, the Apple beta testing service.

“With Amazon EC2 Mac, we gave Devin macOS environments in the cloud, unlocking iOS and macOS development. Now customers can hand Devin platform-specific tasks such as building and testing iOS applications, without anyone managing Mac hardware. Our mac-m4pro.metal and mac-m4.metal fleet spans six regions, and we can mint fresh macOS VMs for Devin in under a minute.”

— Evan Almloff, Member of Technical Staff, Cognition

Wispr, which makes the Wispr Flow voice dictation app, uses Devin for macOS to test its iOS app end to end.

“At Wispr, a big part of testing our iOS app is making sure recording and transcription work end to end. The biggest blocker for us was end to end testing with Audio and Keyboard extension. With Devin’s macOS support, the pace of development has accelerated and it has given us more confidence in shipping features and triaging bugs. The velocity unlock is huge and cut down code review time by 70% and improved our velocity by nearly 2x.”

— Sumit Oberoi, Lead iOS Engineer, Wispr

Plan your own macOS fleet on EC2 Mac

The following points from the Amazon EC2 User Guide affect how you design a macOS fleet:

  • Each Dedicated Host runs one Mac instance, and you can release a host only after its 24-hour minimum allocation period.
  • You can share Dedicated Hosts with other AWS accounts or within an organization in AWS Organizations using Cross-account Amazon EC2 Dedicated Host sharing.
  • Mac instances are available as On-Demand Instances, and you can lower their cost with a Savings Plan.
  • Mac instance types are available in specific Regions, so check Amazon EC2 instance types by Region before you plan capacity.

Conclusion

Cognition gave Devin its own cloud Mac by running a fresh macOS guest VM for each session on Amazon EC2 Mac bare metal hosts. Disk snapshots, a user-space Ethernet gateway, prepared guest images, and accessibility-based control turn each VM into a workspace where Devin can build, run, and verify Apple apps.

Get started with Amazon EC2 Mac instances, and read Bringing macOS to Devin for more detail on how Cognition built Devin for macOS.

Resources


About the authors

Adam Hesch

Adam Hesch

Adam is a Partner Deployed Engineer at Cognition, focused on agentic AI and cloud partnerships. Before Cognition, Adam spent seven and a half years at AWS, most recently as Lead Solutions Architect for Federal Partners. A former US Navy officer, Adam holds a B.S. in computer science from the United States Naval Academy and an MBA from Indiana University Bloomington.

Sahin Olut

Sahin Olut

Sahin is a Member of Technical Staff at Cognition, focused on platform and systems engineering. Before Cognition, Sahin spent five years at Rippling, most recently as a Principal Software Engineer. Sahin holds a master’s degree in computer science from the University of North Carolina at Chapel Hill, with research on machine learning for medical image registration.

Evan Almloff

Evan Almloff

Evan is a Member of Technical Staff at Cognition and a maintainer of Dioxus, a cross-platform UI library for Rust. Evan joined Cognition with the Dioxus team and is interested in cross-platform UI and private, controllable AI.

Hadrien Almela

Hadrien Almela

Hadrien is a Senior Frontier AI Account Manager in the AWS Startup team, helping top AI startups build technical integrations and global go-to-market (GTM) partnerships. He has eight years of experience in the startup landscape.

Daniel Quang

Daniel Quang

Daniel is a Solutions Architect on the Frontier AI Startups team at AWS, where he helps the world’s largest and most strategic generative AI startups scale their infrastructure on the cloud. He holds a PhD in Computer Science from the University of California, Irvine, with a research focus on machine learning and bioinformatics.

Kyle Krall

Kyle Krall

Kyle is a Specialist Solutions Architect for Amazon EC2 Mac on the AWS Compute team, where he draws on his background in SRE and DevOps to help customers build and scale macOS workloads on AWS.

Christina Mitine

Christina Mitine

Christina is the Worldwide Go-to-Market Lead for Amazon EC2 Mac on the AWS Compute team. She works with customers of all sizes, from AI startups building coding agents to enterprises running CI/CD, to scale their macOS workloads on AWS. Outside of work, she enjoys playing tennis, hiking, reading, and traveling.

Announcing custom execution roles for AWS CloudFormation StackSets

Post Syndicated from Tanvi Ravindra Malali original https://aws.amazon.com/blogs/devops/announcing-custom-execution-roles-for-aws-cloudformation-stacksets/

With AWS CloudFormation StackSets, you can create, update, and delete stacks across many accounts and Regions from a single operation. By default, StackSets creates an execution role with AdministratorAccess in each target account, which requires no additional setup. With custom execution role templates, you can define the IAM role that StackSets uses in each member account instead.

This provides two capabilities. First, you can scope the execution role’s permissions to only what your workload needs. Second, service-managed stack sets can deploy templates that use nested stacks, macros, and transforms.

Note: Switching to a custom execution role does not remove the default AdministratorAccess execution role from member accounts. For true least-privilege access, delete the default role in each member account after you confirm the custom role works.

How it works

When you create or update a stack set with an execution role template, StackSets validates it and stores it. For each target member account, StackSets then deploys the template as a small bootstrapping stack that creates the IAM role. StackSets uses the name you passed in the ExecutionRoleName parameter for all subsequent operations. The StackSetExecutionRoleName output is used only to validate that the role the template provisioned matches that name.

The bootstrapping stack is created once per member account, always in the home Region of the partition (us-east-1 for commercial, cn-north-1 for China). It is named stacksets-exec-role-stack-<region>-<stackset-id>-<short-uuid>. From that point on, every create, update, and delete operation StackSets runs in that member account uses your custom role.

Templates with nested stacks, macros, and transforms

With a custom execution role, service-managed stack sets can deploy workload templates that use nested stacks (AWS::CloudFormation::Stack), CloudFormation transforms (such as AWS::Serverless-2016-10-31), and custom macros. Previously, these features were not supported in service-managed stack sets.

This capability applies to the workload template you deploy with your stack set, not to the execution role template itself. The execution role template must still follow the requirements in the next section, including no nested stacks and no transforms.

For a workload template that uses transforms or macros, such as a SAM template, pass both CAPABILITY_NAMED_IAM and CAPABILITY_AUTO_EXPAND when creating the stack set:

aws cloudformation create-stack-set \
--stack-set-name my-sam-stack-set \
--template-body file://my-sam-template.yaml \
--permission-model SERVICE_MANAGED \
--execution-role-template-body file://execution-role-template.yaml \
--execution-role-name stacksets-exec-custom-my-role \
--capabilities CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND

Prerequisites

Before you configure a custom execution role template, make sure:

  • Your StackSet uses the service-managed permissions model. Custom execution role templates are not supported with self-managed permissions.
  • Activate trusted access with AWS Organizations. This creates the AWSServiceRoleForCloudFormationStackSetsOrgAdmin service-linked role in your management account.
  • You have your management account ID available for use in the trust policy.

Execution role template requirements

Your execution role template must meet all four of the following requirements. If any requirement is not met, CreateStackSet or UpdateStackSet returns a validation error.

1. A single IAM role resource

The template must contain exactly one resource, and that resource must be of type AWS::IAM::Role. Templates with multiple resources or non-IAM resources are rejected.

Note: Name the role with the required prefix stacksets-exec-custom- (for example, stacksets-exec-custom-my-role). The service’s default execution role is named stacksets-exec-<hash>, so this prefix is what lets StackSets tell a custom role from a default one by name alone. Roles without this prefix fail validation. Use the same role name across all stack instances. Don’t vary it per account or Region.

2. A trust policy for the StackSets service-linked role

The IAM role must include an AssumeRolePolicyDocument that grants assume-role access to the StackSets service-linked role in your management account. The trust policy must contain exactly one Statement and exactly one AWS principal, in this format:

arn:aws:iam::<management-account-id>:role/aws-service-role/stacksets.cloudformation.amazonaws.com/AWSServiceRoleForCloudFormationStackSetsOrgAdmin

Replace <management-account-id> with your organization’s management account ID.

If your organization uses a delegated administrator account for StackSets, the trust policy must still reference the organization management account rather than the delegated administrator account.

You can optionally strengthen the trust policy with a condition on your organization ID:

AssumeRolePolicyDocument:
  Version: "2012-10-17"
  Statement:
    - Effect: Allow
      Principal:
        AWS: arn:aws:iam::123456789012:role/aws-service-role/stacksets.cloudformation.amazonaws.com/AWSServiceRoleForCloudFormationStackSetsOrgAdmin
      Action: sts:AssumeRole
      Condition:
        StringEquals:
          aws:SourceOrgID: o-exampleorgid

3. A required output

The template must define a CloudFormation output with the key StackSetExecutionRoleName, and its value must be the name of the IAM role created by the template. StackSets uses this output to validate that the role name the template provisioned matches the ExecutionRoleName you passed when you created or updated the stack set. If the output is missing or the key is misspelled, the template fails validation.

4. No nested stacks or transforms

The template must not include:

  • Nested stack resources (AWS::CloudFormation::Stack).
  • CloudFormation transforms, such as AWS::Serverless-2016-10-31 or custom macros.

A working example

The following least-privilege template creates an execution role scoped to S3 bucket operations on buckets matching a naming prefix, plus the CloudFormation actions StackSets needs to drive stack operations in the member account.

AWSTemplateFormatVersion: "2010-09-09"
Description: Custom execution role for CloudFormation StackSets
Resources:
  StackSetExecutionRole:
    Type: AWS::IAM::Role
    Properties:
      RoleName: stacksets-exec-custom-my-role
      AssumeRolePolicyDocument:
        Version: "2012-10-17"
        Statement:
          - Effect: Allow
            Principal:
              AWS: arn:aws:iam::123456789012:role/aws-service-role/stacksets.cloudformation.amazonaws.com/AWSServiceRoleForCloudFormationStackSetsOrgAdmin
            Action: sts:AssumeRole
      Policies:
        - PolicyName: StackSetExecutionPolicy
          PolicyDocument:
            Version: "2012-10-17"
            Statement:
              - Effect: Allow
                Action:
                  - s3:CreateBucket
                  - s3:DeleteBucket
                  - s3:PutBucketPolicy
                  - s3:GetBucketPolicy
                Resource: "arn:aws:s3:::amzn-s3-demo-*"
              - Effect: Allow
                Action: cloudformation:*
                Resource: "*"
Outputs:
  StackSetExecutionRoleName:
    Value: !Ref StackSetExecutionRole
    Description: Name of the execution role used by StackSets

This template is an illustrative example. The cloudformation:* permissions on all resources are the minimum StackSets needs to drive stack operations in each member account. Narrowing them below this can cause stack operations to fail. Adjust the S3 statement to match the resources your workload uses.

Replace 123456789012 with your management account ID. Using !Ref on the role returns the role name dynamically, so you don’t need to repeat it in the output.

Creating a StackSet with a custom execution role template

Supply the template to CreateStackSet in one of two ways:

  • ExecutionRoleTemplateBody – the template body as an inline string (JSON or YAML).
  • ExecutionRoleTemplateUrl – the Amazon Simple Storage Service (Amazon S3) URL of the template file.

Specify either one of these. If you provide both, the operation returns an error.

Console view of the StackSet creation wizard showing the custom execution role template options, with the default option selected.

Figure 1: Console view of the configurable options when creating a StackSet custom execution role

Using the AWS CLI

aws cloudformation create-stack-set \
--stack-set-name my-stack-set \
--template-body file://my-stackset-template.yaml \
--permission-model SERVICE_MANAGED \
--execution-role-template-body file://execution-role-template.yaml \
--execution-role-name stacksets-exec-custom-my-role \
--capabilities CAPABILITY_NAMED_IAM

The --execution-role-name value must match the RoleName in your execution role template, and it must start with stacksets-exec-custom-. StackSets validates this prefix and returns an error if it does not match.

Custom execution role templates always require CAPABILITY_NAMED_IAM. This flag acknowledges that the templates create named IAM resources. The execution role template always creates a named IAM resource, because it must use the required stacksets-exec-custom- prefix through an explicit RoleName. If your workload template also uses transforms (such as AWS::Serverless-2016-10-31) or macros, add CAPABILITY_AUTO_EXPAND as well. Capabilities apply at the stack set level and pass down to each stack instance.

With an S3-hosted template:

aws cloudformation create-stack-set \
--stack-set-name my-stack-set \
--template-body file://my-stackset-template.yaml \
--permission-model SERVICE_MANAGED \
--execution-role-template-url https://s3.amazonaws.com/amzn-s3-demo-bucket/execution-role-template.yaml \
--execution-role-name stacksets-exec-custom-my-role \
--capabilities CAPABILITY_NAMED_IAM

Note: If you use an S3 URL, your credentials must have read access to the S3 object. The URL can be in path style (https://s3.amazonaws.com/my-bucket/key.yaml) or virtual-hosted style (https://my-bucket.s3.region.amazonaws.com/key.yaml).

Using the CloudFormation console

The create StackSet wizard defaults to Use default execution role, which is the AdministratorAccess role. To attach a custom execution role, select Set execution role and either paste an S3 URL or upload a local template file.

The console also asks for an IAM execution role name in a separate field. StackSets uses the name you enter in this field as the execution role name, not the RoleName value in the template. Make sure the name in the field still starts with the required stacksets-exec-custom- prefix.

StackSet creation wizard on the CloudFormation console defaulting to the AdministratorAccess execution role, with the Set execution role option available to add a custom role.

Figure 2: The StackSet creation wizard defaulting to the AdministratorAccess execution role, with the option to set a custom execution role

Updating the execution role template

To update the execution role template for an existing stack set, call UpdateStackSet with a new ExecutionRoleTemplateBody or ExecutionRoleTemplateUrl. The same validation requirements apply. When you update the execution role template, StackSets updates the role on every existing stack instance. You can’t specify deployment targets in the same call.

The --execution-role-name value is required only when you transition from the default execution role to a custom execution role. On subsequent updates to the execution role template, it’s optional.

aws cloudformation update-stack-set \
--stack-set-name my-stack-set \
--execution-role-template-body file://updated-execution-role-template.yaml \
--use-previous-template \
--capabilities CAPABILITY_NAMED_IAM

On the console, you can also change the execution role name without replacing the template. Select the Use current execution role tile to keep the existing template, and enter a new role name in the IAM execution role name field.

Console showing the Use current execution role tile selected, which keeps the existing template and changes only the execution role name.

Figure 3: Keeping the current execution role template and changing only the execution role name

On the console, choose the Replace current execution role tile and either paste an S3 URL or upload a new template file.

Console showing the Replace current execution role tile selected, with options to provide an S3 URL or upload a local template file.

Figure 4: Replacing the execution role template by providing an S3 URL or uploading a local template file

Setting up an output bucket

StackSets always stores the validated execution role template in a service-owned bucket. You can also configure a bucket you own, and StackSets writes a copy of the template there. This is useful when you want direct visibility into the stored template.

To configure a custom output bucket:

  • Create an S3 bucket in the same Region as your stack set.
  • Update the bucket policy to allow the CloudFormation service principal (cloudformation.amazonaws.com) to perform s3:PutObject on the bucket path.
  • Pass the bucket name using --stack-set-output-bucket on create-stack-set or update-stack-set.
  • StackSets writes the copy at s3://<bucket>/aws-cloudformation-stacksets/<stack-set-id>/output.json, where the colons in the stack set ID are replaced by periods.

Reverting to the default execution role

To revert a StackSet to the default AdministratorAccess execution role, set UseAdminExecutionRole to true:

aws cloudformation update-stack-set \
--stack-set-name my-stack-set \
--use-admin-execution-role \
--use-previous-template

Reverting switches StackSets back to the default AdministratorAccess execution role, but it does not remove the custom execution role or its bootstrapping stack from member accounts. There is no automated cleanup today. Delete them manually in each member account if you no longer need them.

On the console, choose the Use default execution role tile during update.

Console view of the Use default execution role tile selected when updating a stack set.

Figure 5: Reverting to the default AdministratorAccess execution role by selecting the Use default execution role tile when updating a stack set

Viewing the current execution role template

Call DescribeStackSet to see the configured execution role template. If an output bucket is configured, the response includes the StackSetOutputBucketPath field, which points to the stored template in S3.

aws cloudformation describe-stack-set \
--stack-set-name my-stack-set

On the console, go to StackSet details, and under StackSet info expand Execution role template. The View in S3 button opens the stored template in a new tab. During update, the Use current execution role tile shows the template currently in use.

StackSet info tab on the console showing the configured execution role template with a View in S3 button, alongside the stack set ARN, admin role ARN, permission model, drift status, and stack set status.

Figure 6: The StackSet info tab showing the configured execution role template, where the View in S3 button opens the stored template in a new tab

If you configure a custom output bucket, StackSetOutputBucketPath in the DescribeStackSet response is configuration. It shows where StackSets writes the output file, not whether the write succeeded. Check S3 directly to confirm the object is present.

Common validation errors

CreateStackSet and UpdateStackSet validate your execution role template against the preceding requirements and return a ValidationException when something doesn’t match. Most error messages restate a requirement: more than one resource, a missing output key, a role name that doesn’t start with stacksets-exec-custom-, and so on. Three are easier to miss:

  • The account ID in the trust policy principal Amazon Resource Name (ARN) must be your organization’s management account, even when you’re using a delegated administrator.
  • The IAM role in the template must not set a Path property (other than /). This requirement isn’t obvious from the role’s shape.
  • When you update the execution role template, you can’t also specify deployment targets. StackSets always reprovisions the role in every existing stack instance.

For the full list of error strings and causes, see the Troubleshooting section of the User Guide.

If the execution role stack fails to create in a specific member account, that account’s stack instance deployment fails. Other accounts in the same deployment aren’t affected. Check the stack events in the failing member account for details, then retry by creating new stack instances for those accounts.

Get started

With custom execution role templates, you can keep the cross-account convenience of StackSets while bringing your permissions in line with least-privilege guidance. To learn more about the service, see the AWS CloudFormation product page.

 


About the authors

Tanvi Ravindra Malali

Tanvi Ravindra Malali

Tanvi Malali is a Delivery Consultant on the AWS Industries Healthcare team, where she helps healthcare customers design and deliver production workloads on AWS. She is a member of the AWS Technical Field Community for Infrastructure as Code. Tanvi is based in New York.

Idriss Laouali Abdou

Idriss Laouali Abdou

Idriss Abdou is a Sr. Product Manager Technical on the AWS Infrastructure-as-Code team based in Seattle. He focuses on improving developer productivity through CloudFormation and StackSets Infrastructure provisioning experiences. Outside of work, you can find him creating educational content for thousands of students, cooking, or dancing.

Track AWS CloudFormation StackSets deployments with progress visibility

Post Syndicated from Idriss Laouali Abdou original https://aws.amazon.com/blogs/devops/track-aws-cloudformation-stacksets-deployments-with-progress-visibility/

Today, AWS CloudFormation StackSets adds deployment progress visibility, a stage-by-stage view of where each stack set operation stands. You can see how much work is complete, and which accounts and stack instances need attention. Whether you target tens of accounts or thousands, you can follow a deployment while it runs and act on results without waiting for it to finish.

With AWS CloudFormation, you model and provision your cloud infrastructure as code, writing templates in JSON or YAML or generating them with tools like the AWS Cloud Development Kit (CDK). CloudFormation StackSets extends this to many accounts and AWS Regions. With a stack set, you can deploy the same template, such as a networking baseline or security controls, to every account and Region you target in one operation. Each deployment of the template to one account and Region is a stack instance. With service-managed stack sets, StackSets works with AWS Organizations to provision the access it needs in each target account for you.

In this post, we’ll explore how to read deployment progress on the CloudFormation console and through the API. Whether you’re a platform engineer rolling out an organization-wide baseline or a developer building automation around StackSets, we’ll show you how to:

  • Follow a large deployment as it moves through each stage.
  • Find out why a deployment that reports success did not deploy any stacks.
  • Check progress from scripts and automation.
  • Review how each stage ended after the deployment completes.

The walkthrough shows how stage-level progress gives you confidence that a rollout is on track at every stage.

Key capabilities

Deployment progress adds the following to stack set operations that start after launch.

  • Two stages for every operation. Each stack set operation reports role provisioning and stack deployment separately, each with its own status and percentage complete.
  • Counts for each stage. Role provisioning reports accounts that succeeded, failed, completed, and are pending. Stack deployment reports stack instances that succeeded, failed, completed, are pending, were skipped, and were cancelled.
  • Progress for each Region. The console shows a Deployment by Region table, and describing an operation returns stack deployment progress for each Region.
  • Results after completion. Progress remains available after the operation finishes. You can review how each stage ended at any time.
  • Additive API change. The new fields are additive. Existing integrations continue to work without changes.

How it works

When you start a stack set operation, its overall status works as it does today. Deployment progress adds detail under StatusDetails.Stages in the DescribeStackSetOperation and ListStackSetOperations responses, and on the Progress tab of each operation on the CloudFormation console. The stage statuses are separate from the overall operation status.

To open it on the console, choose View progress report for an operation on your stack set’s Operations tab. If the operation’s details page is already open, choose the Progress tab.

The following image shows the Operations tab for a stack set. The View progress report link for a completed CREATE operation is highlighted in the Actions column.

Operations tab with View progress report highlighted

Figure 1: Choose View progress report for an operation on the Operations tab

The following image shows the details page for the same operation while it was running, with the Progress tab highlighted next to the Stack instances tab.

Operation details page with the Progress tab highlighted

Figure 2: Alternatively, on an operation’s details page, choose the Progress tab

The Progress tab has up to three sections. Role provisioning shows the status and the succeeded, failed, pending, and total account counts. Deployment shows the status and the succeeded, failed, pending, cancelled, skipped, and total stack instance counts. Deployment by Region shows the same stack instance counts for each Region, and notes whether Regions are processed one at a time or in parallel. While an operation runs, a progress bar shows the Deployment percentage complete. When the operation finishes, the stage status replaces the progress bar. For operations on a self-managed stack set, the console leaves out the Role provisioning section and shows only Deployment and Deployment by Region. For other operations that don’t provision roles, such as updates, the Role provisioning section shows NOT_APPLICABLE. The completed count appears only in the API response, where it is the sum of succeeded, failed, skipped, and cancelled.

Role provisioning prepares access in each target account of a service-managed stack set. When StackSets has resolved the target accounts, the stage reports counts of succeeded, failed, completed, and pending accounts, and its percentage complete. In the API response, operations that don’t provision roles, including operations on self-managed stack sets, report this stage as NOT_APPLICABLE.

Stack deployment deploys your template as a stack instance in each account and Region. It begins after role provisioning finishes, and its counts appear once the stage starts. Two counts tell you why a stack instance was not deployed:

  • Skipped stack instances belong to accounts that did not complete role provisioning, or to suspended accounts. Because an operation has one stack instance per account in each Region, 4 accounts that did not complete role provisioning in a 3-Region operation give 12 skipped stack instances.
  • Cancelled stack instances were not attempted because the operation exceeded its failure tolerance or was stopped.

Completed is the sum of succeeded, failed, skipped, and cancelled, and pending is the total minus completed. The percentage complete is completed divided by total, rounded down to the nearest tenth. There is no separate in-progress count. StatusDetails also reports the total number of target accounts and stack instances once StackSets has resolved the operation’s targets.

Each stage reports one of these statuses: NOT_APPLICABLE, NOT_STARTED, IN_PROGRESS, SUCCEEDED, PARTIAL_SUCCESS, or FAILED. The two stages can end differently. For example, role provisioning can end in PARTIAL_SUCCESS while stack deployment ends in SUCCEEDED, because stack deployment succeeded for every stack instance that was not skipped.

Behavior by operation type

Operation Role provisioning Stack deployment
Create operations on a service-managed stack set, including auto-deployments Reported Reported
Update and delete operations on a service-managed stack set, and all operations on a self-managed stack set NOT_APPLICABLE Reported
Drift detection NOT_APPLICABLE NOT_APPLICABLE

This table reflects behavior at launch. To write automation that keeps working as StackSets adds features, read the role provisioning status in each response rather than inferring it from the operation type.

DescribeStackSetOperation includes stack deployment progress for each Region in RegionalStatusDetails. ListStackSetOperations returns the overall stages without the regional breakdown. Both stage progress and the Regional breakdown remain available after the operation finishes.

Scenario 1: Follow a large deployment as it runs

You’re a platform engineer rolling out a baseline from a service-managed stack set to 240 accounts in 3 Regions, which is 720 stack instances. The operation has been running for about 20 minutes and you want to know how far it has come.

On the console

  1. Open the CloudFormation console and choose StackSets.
  2. Choose your stack set, then choose the Operations tab.
  3. Choose View progress report for the running operation.

The following image shows the Progress tab for the operation while it runs, with the Deployment progress bar at 90 percent and progress for each Region.

Progress tab while a CREATE operation runs, with Deployment at 90 percent

Figure 3: Progress tab for a running operation

The overall status is still RUNNING, and the Progress tab shows what that status covers. Role provisioning has succeeded for all 240 accounts. The Deployment progress bar is at 90 percent, with 651 stack instances succeeded, none failed, and 69 pending. Deployment by Region shows the status for each Region. The US East (N. Virginia) Region (us-east-1) is done, the Europe (Ireland) Region (eu-west-1) has 5 stack instances pending, and the US West (Oregon) Region (us-west-2) has 64 pending. You can let the operation continue with confidence that it is progressing.

With the AWS Command Line Interface

aws cloudformation describe-stack-set-operation \
    --stack-set-name demo-operation-progress-visibility \
    --operation-id 01234567-890a-bcde-f012-34567890abcd

Sample output (abbreviated):

{
  "StackSetOperation": {          
    "OperationId": "01234567-890a-bcde-f012-34567890abcd",
    "Action": "CREATE",
    "Status": "RUNNING",
    "StatusDetails": {
      "Stages": {
        "RoleProvisioning": {
          "Status": "SUCCEEDED",
          "SucceededAccountsCount": 240,
          "FailedAccountsCount": 0,
          "PendingAccountsCount": 0,
          "CompletedAccountsCount": 240,
          "PercentageCompleted": 100
        },
        "StackInstancesDeployment": {
          "Status": "IN_PROGRESS",
          "SucceededStackInstancesCount": 651,
          "FailedStackInstancesCount": 0,
          "PendingStackInstancesCount": 69,
          "CompletedStackInstancesCount": 651,
          "SkippedStackInstancesCount": 0,
          "CancelledStackInstancesCount": 0,
          "PercentageCompleted": 90.4
        }
      },
      "TotalAccountsCount": 240,
      "TotalStackInstancesCount": 720,
      "FailedStackInstancesCount": 0
    },
    "RegionalStatusDetails": {
      "eu-west-1": {
        "Stages": {
          "RegionalStackInstancesDeployment": {
            "Status": "IN_PROGRESS",
            "SucceededStackInstancesCount": 235,
            "FailedStackInstancesCount": 0,
            "PendingStackInstancesCount": 5,
            "CompletedStackInstancesCount": 235,
            "SkippedStackInstancesCount": 0,
            "CancelledStackInstancesCount": 0,
            "TotalStackInstancesCount": 240,
            "PercentageCompleted": 97.9
          }
        }
      },
      "us-east-1": { ... "Status": "SUCCEEDED", "PercentageCompleted": 100 ... },
      "us-west-2": {
        "Stages": {
          "RegionalStackInstancesDeployment": {
            "Status": "IN_PROGRESS",
            "SucceededStackInstancesCount": 176,
            "FailedStackInstancesCount": 0,
            "PendingStackInstancesCount": 64,
            "CompletedStackInstancesCount": 176,
            "SkippedStackInstancesCount": 0,
            "CancelledStackInstancesCount": 0,
            "TotalStackInstancesCount": 240,
            "PercentageCompleted": 73.3
          }
        }
      }
    }
  }
}

The API reports the percentage rounded down to the nearest tenth (651 of 720 is 90.4 percent). The console progress bar shows 90%.

Scenario 2: Find out why nothing deployed

You start a create operation that targets 4 accounts in 3 Regions, which is 12 stack instances. The operation finishes in seconds with an overall status of SUCCEEDED, but no stacks appear in the target accounts.

The following image shows the Progress tab after the operation finished. Role provisioning shows FAILED for all four accounts, and Deployment shows SUCCEEDED with all 12 stack instances skipped.

Progress tab after role provisioning failed in all four accounts

Figure 4: Progress tab after role provisioning failed in every target account

The Progress tab shows what happened. Role provisioning is FAILED, with all 4 accounts failed. Deployment is SUCCEEDED because no stack instance failed, but all 12 stack instances are skipped. Deployment by Region shows 4 skipped stack instances in each Region. Role provisioning did not complete in any account, so StackSets had nothing to deploy. In this example, all four target accounts were suspended.

Sample output (abbreviated):

"StatusDetails": {
  "Stages": {
    "RoleProvisioning": {
      "Status": "FAILED",
      "SucceededAccountsCount": 0,
      "FailedAccountsCount": 4,
      "PendingAccountsCount": 0,
      "CompletedAccountsCount": 4,
      "PercentageCompleted": 100
    },
    "StackInstancesDeployment": {
      "Status": "SUCCEEDED",
      "SucceededStackInstancesCount": 0,
      "FailedStackInstancesCount": 0,
      "PendingStackInstancesCount": 0,
      "CompletedStackInstancesCount": 12,
      "SkippedStackInstancesCount": 12,
      "CancelledStackInstancesCount": 0,
      "PercentageCompleted": 100
    }
  },
  "TotalAccountsCount": 4,
  "TotalStackInstancesCount": 12,
  "FailedStackInstancesCount": 0
}

To see the status reason for each account, list the operation’s results:

aws cloudformation list-stack-set-operation-results \
    --stack-set-name demo-operation-progress-visibility \
    --operation-id <operation-id> \
    --query "Summaries[?Status=='FAILED'].{Account:Account,Region:Region,Reason:StatusReason}"

Your next step is to review the affected accounts, for example confirming whether they are active in AWS Organizations, and then run the operation again for them.

Scenario 3: Check progress from scripts and automation

You run StackSets operations from a pipeline and want a short progress line in your build logs. ListStackSetOperations returns the same stage details for recent operations, without the Regional breakdown:

aws cloudformation list-stack-set-operations \
    --stack-set-name demo-operation-progress-visibility \
    --query "Summaries[?Status=='RUNNING'].{Id:OperationId,Stages:StatusDetails.Stages}"

For one operation, you can extract the stack deployment percentage directly:

aws cloudformation describe-stack-set-operation \
    --stack-set-name demo-operation-progress-visibility \
    --operation-id 01234567-890a-bcde-f012-34567890abcd \
    --query "StackSetOperation.StatusDetails.Stages.StackInstancesDeployment.PercentageCompleted"

Sample output, for the operation in Scenario 1:

90.4

For operations that start after launch, every stage is present in the response, with NOT_APPLICABLE or NOT_STARTED when it is not active. Your automation reads the same structure for every operation type. AI agents that call the CloudFormation API on your behalf can read the stage status to tell whether a stage is active. Operations that ran before launch don’t include Stages in their response, so check that the field exists before you read it, for example when you list older operations.

Scenario 4: Review how each stage ended

The operation from Scenario 1 has finished. You want to confirm the result before you move on.

The following image shows the Progress tab after the operation completed, with both stages and all three Regions showing SUCCEEDED.

Progress tab after the operation completed

Figure 5: Progress tab for the completed operation

The overall status is SUCCEEDED. Role provisioning succeeded for all 240 accounts. Deployment shows SUCCEEDED in place of the progress bar, with all 720 stack instances succeeded and none failed, pending, cancelled, or skipped. Deployment by Region shows 240 succeeded stack instances in each of the 3 Regions. Because progress remains available after the operation finishes, you can come back to these results later.

Best practices

  • Use the counts to decide your next step. Failed stack instances point to the template or the resources it creates. Skipped stack instances point to role provisioning, or a suspended account. Cancelled stack instances point to the failure tolerance, or a stopped operation.
  • Check role provisioning and the overall status. If role provisioning fails for every target account, StackSets skips every stack instance. As Scenario 2 shows, stack deployment and the overall operation still report SUCCEEDED, even though no stacks were deployed. A FAILED role provisioning status with a skipped count equal to the total tells you this happened.
  • Use DescribeStackSetOperation when you need the Regional breakdown, and ListStackSetOperations for a quick view across recent operations.
  • Treat NOT_APPLICABLE in the API response as expected for the operation type, for example role provisioning on self-managed stack sets or both stages for drift detection.
  • Totals and pending counts appear only after StackSets resolves the operation’s targets. Handle their absence early in an operation, and for operations that ran before launch, which don’t include Stages.

Getting started

Deployment progress is available at no additional charge in all AWS Regions where CloudFormation StackSets is supported. On the CloudFormation console, choose View progress report for a stack set operation on the Operations tab. You can also call DescribeStackSetOperation or ListStackSetOperations with the AWS Command Line Interface (AWS CLI) or AWS SDKs. To use the new fields from the command line, use AWS CLI version 2. They are not available in AWS CLI version 1. In code, use an AWS SDK version released on or after November 18, 2026.

Conclusion

Deployment progress shows where each StackSets deployment stands, stage by stage and Region by Region. You can follow a rollout across thousands of accounts, find the accounts and stack instances that need attention while it runs, and review how each stage ended afterward. Existing integrations continue to work without changes.

For a full description of each stage, status, and count, including how they differ by operation type, see Monitor StackSet operation progress in the AWS CloudFormation User Guide. If you’re building automation, the DescribeStackSetOperation and ListStackSetOperations pages in the AWS CloudFormation API Reference list every new response field. To learn more about modeling and provisioning infrastructure as code across accounts and Regions, visit the AWS CloudFormation product page.


About the authors

Idriss Laouali Abdou

Idriss Laouali Abdou

Idriss is a Senior Product Manager at AWS, working on delivering the best experience for AWS IaC customers. Outside of work, you can either find him creating educational content helping thousands of students, cooking, or dancing.

Nitin Patil

Nitin Patil

Nitin is a Software Development Engineer at AWS who has worked in the AWS IaC space for the past five years, mostly on CloudFormation StackSets. Outside of work, you can find him exploring new cafes, playing badminton, or gathered around a board game.

The collective thoughts of the interwebz